瀏覽代碼

fixed managed client so it does not send disconnect packet when disposed

release/3.x.x
JanEggers 5 年之前
父節點
當前提交
a152066ed3
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      Source/MQTTnet/Internal/Disposable.cs

+ 3
- 2
Source/MQTTnet/Internal/Disposable.cs 查看文件

@@ -44,12 +44,13 @@ namespace MQTTnet.Internal
{
return;
}

_isDisposed = true;

// Do not change this code. Put cleanup code in Dispose(bool disposing) above.
Dispose(true);
// TODO: uncomment the following line if the finalizer is overridden above.
// GC.SuppressFinalize(this);

_isDisposed = true;
}
#endregion
}


Loading…
取消
儲存