Zond: принудительное завершение процесса
This commit is contained in:
@@ -54,6 +54,11 @@ public class ZondCommandHandler implements CommandHandler {
|
||||
threadExec = new Thread(task, "Zond Exec");
|
||||
threadExec.start();
|
||||
}
|
||||
} else if (line.equalsIgnoreCase("kill")) {
|
||||
if (watchdog != null) {
|
||||
watchdog.destroyProcess();
|
||||
threadExec.interrupt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user