frozen "stop/resume" button
Issue #2
resolved
When pressing stop during a clustering, sometimes the "resume" button does not get back to active status and remains disabled .. race condition of threads?
Comments (3)
-
-
repo owner -
assigned issue to
- edited description
should be resolved in the latest update. Swapped the "thread.stop" and "button.setEnabled(false)" order. Now the button first gets disabled BEFORE the thread tries to re-enable it. This should avoid the race condition of the main thread and the start/stop thread trying to access the button concurrently.
-
assigned issue to
-
repo owner - changed status to resolved
- Log in to comment
to add to the bug description: this (or s.th. unrelated but identical in outcome) also sometimes (rarely) happens when switching from 3D to 2D clustering