aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/MainEventHandler.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-02 17:11:17 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-02 17:11:17 -0700
commit6e1d43d86414281ca562c45488b82808936fc980 (patch)
treeb26800225a5439c86d9fc441f96bb690dde4f77a /src/main/java/org/traccar/MainEventHandler.java
parent5032f99c6462ca97f3629abe1faf2f50cc4977fe (diff)
downloadtrackermap-server-6e1d43d86414281ca562c45488b82808936fc980.tar.gz
trackermap-server-6e1d43d86414281ca562c45488b82808936fc980.tar.bz2
trackermap-server-6e1d43d86414281ca562c45488b82808936fc980.zip
Integrate cache manager
Diffstat (limited to 'src/main/java/org/traccar/MainEventHandler.java')
-rw-r--r--src/main/java/org/traccar/MainEventHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/MainEventHandler.java b/src/main/java/org/traccar/MainEventHandler.java
index 0a25b7547..f04307fdb 100644
--- a/src/main/java/org/traccar/MainEventHandler.java
+++ b/src/main/java/org/traccar/MainEventHandler.java
@@ -130,7 +130,7 @@ public class MainEventHandler extends ChannelInboundHandlerAdapter {
if (BasePipelineFactory.getHandler(ctx.pipeline(), HttpRequestDecoder.class) == null
&& !connectionlessProtocols.contains(ctx.pipeline().get(BaseProtocolDecoder.class).getProtocolName())) {
- Context.getConnectionManager().removeDeviceSessions(ctx.channel());
+ Context.getConnectionManager().deviceDisconnected(ctx.channel());
}
}