update timer

This commit is contained in:
hengyunabc
2020-05-18 02:29:57 +08:00
parent f37cad3bbe
commit 8d12bb7e0a
2 changed files with 1 additions and 1 deletions
@@ -321,6 +321,7 @@ public class ArthasBootstrap {
}
public void destroy() {
timer.cancel();
if (this.tunnelClient != null) {
try {
tunnelClient.stop();
@@ -41,7 +41,6 @@ public class GlobalJobControllerImpl extends JobControllerImpl {
@Override
public void close() {
timer.cancel();
jobTimeoutTaskMap.clear();
for (Job job : jobs()) {
job.terminate();