public void Dispose() { Logger.Initialization.Verbose("IntelliSenseHelper Dispose Start"); foreach (var provider in _providers) { provider.Dispose(); } _uiMonitor.Dispose(); _display.Dispose(); Logger.Initialization.Verbose("IntelliSenseHelper Dispose End"); }
// Must run on the main thread public void Dispose() { Debug.Assert(Thread.CurrentThread.ManagedThreadId == 1); Logger.Initialization.Verbose("IntelliSenseHelper Dispose Start"); foreach (var provider in _providers) { provider.Dispose(); } _display.Dispose(); _uiMonitor.Dispose(); Logger.Initialization.Verbose("IntelliSenseHelper Dispose End"); }
public void Shutdown() { Debug.Print("Shutdown!"); if (_current != null) { try { _current.Dispose(); } catch (Exception ex) { Debug.Print("!!! Error during Shutdown: " + ex); } _current = null; } }
public void Dispose() { _id.Dispose(); }