From 49da66dcffe5e3421b0175f34491ae27163852bf Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 13 Mar 2018 23:28:50 +0100 Subject: [PATCH] Fix issue when disconnecting on UWP --- .../Implementations/MqttTcpChannel.Uwp.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Frameworks/MQTTnet.NetStandard/Implementations/MqttTcpChannel.Uwp.cs b/Frameworks/MQTTnet.NetStandard/Implementations/MqttTcpChannel.Uwp.cs index fa96a8f..c65f789 100644 --- a/Frameworks/MQTTnet.NetStandard/Implementations/MqttTcpChannel.Uwp.cs +++ b/Frameworks/MQTTnet.NetStandard/Implementations/MqttTcpChannel.Uwp.cs @@ -69,12 +69,6 @@ namespace MQTTnet.Implementations public void Dispose() { - SendStream?.Dispose(); - SendStream = null; - - ReceiveStream?.Dispose(); - ReceiveStream = null; - _socket?.Dispose(); _socket = null; }