Skip to content

Commit 61fa3e8

Browse files
committed
GH-324 disable timer if it is already running
1 parent be55a34 commit 61fa3e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

visualvm/jvm/src/org/graalvm/visualvm/jvm/JmxSupport.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ public void run() {
288288
}
289289
}
290290
};
291+
disableTimer();
291292
timer = new Timer("JMX MonitoredData timer for "+application.getId()); // NOI18N
292293
timer.schedule(task,INITIAL_DELAY,interval);
293294
}

0 commit comments

Comments
 (0)