diff --git a/src/main/java/nsusbloader/Controllers/NxdtController.java b/src/main/java/nsusbloader/Controllers/NxdtController.java index ecdc0f8..cc758c2 100644 --- a/src/main/java/nsusbloader/Controllers/NxdtController.java +++ b/src/main/java/nsusbloader/Controllers/NxdtController.java @@ -97,7 +97,9 @@ public class NxdtController implements Initializable { * Interrupt thread NXDT button handler * */ private void stopBtnAction(){ - //TODO + if (workThread != null && workThread.isAlive()){ + NxdtTask.cancel(false); + } } public void notifyThreadStarted(boolean isActive, EModule type){