Skip to content

Pressing a "SORT" button after "sortingEnded" event breaks the app. #3

@Exclearf

Description

@Exclearf

Steps to reproduce

  1. Choose any sorting algorithm.
  2. Choose any array size.
  3. Run the sort.
  4. When the sort has finished the array starts to fill rgb(1, 180, 1), press the "SORTING..." button, it completely breaks the app.

Result

If pressed in the correct timing, the app stops working and requires a reload or simply break until the "SORT" button hit again.


Possible solution

the array has yet to finish filling rgb(1, 180, 1) (isSorted to true), but you can already invoke next sorting algorithm run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions