frozen "stop/resume" button

Issue #2 resolved
Former user created an issue

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)

  1. Klaus Kopec

    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

  2. Tancred Frickey repo owner

    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.

  3. Log in to comment