diff options
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/MainEventHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/MainEventHandler.java b/src/org/traccar/MainEventHandler.java index d4bce37bf..a005ee44b 100644 --- a/src/org/traccar/MainEventHandler.java +++ b/src/org/traccar/MainEventHandler.java @@ -92,8 +92,8 @@ public class MainEventHandler extends IdleStateAwareChannelHandler { closeChannel(e.getChannel()); BaseProtocolDecoder protocolDecoder = (BaseProtocolDecoder) ctx.getPipeline().get("objectDecoder"); - if (ctx.getPipeline().get("httpDecoder") == null && - !connectionlessProtocols.contains(protocolDecoder.getProtocolName())) { + if (ctx.getPipeline().get("httpDecoder") == null + && !connectionlessProtocols.contains(protocolDecoder.getProtocolName())) { Context.getConnectionManager().removeActiveDevice(e.getChannel()); } } |