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