Hotfix within adding DarkMatterCore/nxdumptool support: fix 'Stop' button functionality
This commit is contained in:
parent
4643c08cc2
commit
628f47d7e6
1 changed files with 3 additions and 1 deletions
|
@ -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){
|
||||||
|
|
Loading…
Reference in a new issue