aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/ServerManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-03-30 19:38:06 -0700
committerAnton Tananaev <anton@traccar.org>2024-03-30 19:38:06 -0700
commite7205fa3d1aa6d223cfabfabb32f027415956430 (patch)
treefbd526c3122f73fef20fc76a6ee400dcc4317e9d /src/main/java/org/traccar/ServerManager.java
parent0f7ec1247cff1a68ffa57ade3f45b11f6602e262 (diff)
downloadtrackermap-server-e7205fa3d1aa6d223cfabfabb32f027415956430.tar.gz
trackermap-server-e7205fa3d1aa6d223cfabfabb32f027415956430.tar.bz2
trackermap-server-e7205fa3d1aa6d223cfabfabb32f027415956430.zip
Remove unused global timer
Diffstat (limited to 'src/main/java/org/traccar/ServerManager.java')
-rw-r--r--src/main/java/org/traccar/ServerManager.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/ServerManager.java b/src/main/java/org/traccar/ServerManager.java
index e91be50a2..22af66b41 100644
--- a/src/main/java/org/traccar/ServerManager.java
+++ b/src/main/java/org/traccar/ServerManager.java
@@ -82,12 +82,8 @@ public class ServerManager implements LifecycleObject {
@Override
public void stop() throws Exception {
- try {
- for (TrackerConnector connector : connectorList) {
- connector.stop();
- }
- } finally {
- GlobalTimer.release();
+ for (TrackerConnector connector : connectorList) {
+ connector.stop();
}
}