mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
update timer
This commit is contained in:
@@ -321,6 +321,7 @@ public class ArthasBootstrap {
|
||||
}
|
||||
|
||||
public void destroy() {
|
||||
timer.cancel();
|
||||
if (this.tunnelClient != null) {
|
||||
try {
|
||||
tunnelClient.stop();
|
||||
|
||||
-1
@@ -41,7 +41,6 @@ public class GlobalJobControllerImpl extends JobControllerImpl {
|
||||
|
||||
@Override
|
||||
public void close() {
|
||||
timer.cancel();
|
||||
jobTimeoutTaskMap.clear();
|
||||
for (Job job : jobs()) {
|
||||
job.terminate();
|
||||
|
||||
Reference in New Issue
Block a user