diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-09 19:41:00 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-09 19:41:00 +1200 |
commit | 58a222ba3d546dc2366586f2c904e70680a394bd (patch) | |
tree | 3e9625205d9ad32ab9a8d7eab321d93f5c1d4861 /src/org/traccar | |
parent | 5346216b5f23d56477d1e5137370bb7b76325a88 (diff) | |
download | traccar-server-58a222ba3d546dc2366586f2c904e70680a394bd.tar.gz traccar-server-58a222ba3d546dc2366586f2c904e70680a394bd.tar.bz2 traccar-server-58a222ba3d546dc2366586f2c904e70680a394bd.zip |
Fix Wondex ref counting issue
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/WondexFrameDecoder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/WondexFrameDecoder.java b/src/org/traccar/protocol/WondexFrameDecoder.java index c223c87ff..39d83d761 100644 --- a/src/org/traccar/protocol/WondexFrameDecoder.java +++ b/src/org/traccar/protocol/WondexFrameDecoder.java @@ -40,6 +40,7 @@ public class WondexFrameDecoder extends BaseFrameDecoder { // Send response ByteBuf frame = buf.readRetainedSlice(KEEP_ALIVE_LENGTH); if (channel != null) { + frame.retain(); channel.writeAndFlush(new NetworkMessage(frame, channel.remoteAddress())); } return frame; |