/// <summary> /// Disposing /// </summary> public void Dispose() { //this.SharmIPC.LogException("dispose test", new Exception("p7")); try { if (mt != null) { mt.ReleaseMutex(); mt.Close(); mt.Dispose(); mt = null; } } catch { } //this.SharmIPC.LogException("dispose test", new Exception("p6")); if (rwh != null) { rwh.Dispose(); rwh = null; } //this.SharmIPC.LogException("dispose test", new Exception("p7")); }
/// <summary> /// Disposing /// </summary> public void Dispose() { try { if (mt != null) { mt.ReleaseMutex(); mt.Close(); mt.Dispose(); mt = null; } } catch { } if (rwh != null) { rwh.Dispose(); rwh = null; } }