Skip to content

If Counting sort is stopped at a specific moment, the app becomes unusable.  #5

@Exclearf

Description

@Exclearf

Steps to reproduce

  1. Choose any sorting algorithm.
  2. Choose any array size.
  3. Run the sort.
  4. After the sort has counted elements (each element twice has been #FF4646), press the "SORTING..." button. If pressed in the correct timing, the app can behave in undefined ways.

P.S. See attached image1 for example of what might happen.


Result

If pressed in the correct timing, the app stops working. Pressing "SORT" button (if possible at all) does not affect the problem, but rethrows the exception. See image1 for the error when button is pressed second time (the error is the same).

Footnotes

  1. image 2

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