Hotfix within adding DarkMatterCore/nxdumptool support: fix 'Stop' button functionality

This commit is contained in:
Dmitry Isaenko 2020-05-09 04:27:09 +03:00
parent 4643c08cc2
commit 628f47d7e6

View file

@ -97,7 +97,9 @@ public class NxdtController implements Initializable {
* Interrupt thread NXDT button handler * Interrupt thread NXDT button handler
* */ * */
private void stopBtnAction(){ private void stopBtnAction(){
//TODO if (workThread != null && workThread.isAlive()){
NxdtTask.cancel(false);
}
} }
public void notifyThreadStarted(boolean isActive, EModule type){ public void notifyThreadStarted(boolean isActive, EModule type){