private void Dispose()
 {
     _instanceCounter.Close();
     if (_notifcationWindow != null)
     {
         _notifcationWindow.DestroyHandle();
     }
 }
Beispiel #2
0
 private void Dispose()
 {
     //release the mutex handle
     _instanceCounter.Close();
     //and destroy the window
     if (_notifcationWindow != null)
     {
         _notifcationWindow.DestroyHandle();
     }
 }