Archived
0

Zond: принудительное завершение процесса

This commit is contained in:
2017-06-15 23:38:49 +03:00
parent 846e37c31d
commit 038693189e
2 changed files with 6 additions and 1 deletions

View File

@@ -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();
}
}
}