Small refactorings

This commit is contained in:
Christian Kratky
2017-10-23 18:49:38 +02:00
parent 84a647e712
commit daf22c762f
3 changed files with 19 additions and 14 deletions
@@ -160,6 +160,7 @@ namespace MQTTnet.Core.Server
_clientSessions.Remove(connectPacket.ClientId);
clientSession.Dispose();
clientSession = null;
_trace.Verbose(nameof(MqttClientSessionsManager), "Disposed existing session of client '{0}'.", connectPacket.ClientId);
}
else