protected override void Dispose(bool manual) { if (!Disposed) { Functions.UnregisterDeviceNotification(DevNotifyHandle); base.Dispose(manual); } }
protected override void Dispose(bool manual) { if (this.Disposed) { return; } Functions.UnregisterDeviceNotification(this.DevNotifyHandle); base.Dispose(manual); }