ARTEMIS-1175 fix memory leak

This closes #1292
This commit is contained in:
Odyldzhon Toshbekov 2017-05-25 14:44:59 +03:00 committed by Martyn Taylor
parent 28a60bcdf7
commit b136fed48f
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@ public class MQTTSessionState {
Pair p = mqttToServerIds.remove(mqtt);
if (p != null) {
mqttToServerIds.remove(p.getA());
artemisToMqttMessageMap.remove(p.getB() + ":" + p.getA());
}
return p;
}