private static void Shutdown() { if (_configurationChangeWatcher != null) { _configurationChangeWatcher.Dispose(); } _configurationChangeWatcher = null; }
protected override void Dispose(bool finalize) { if (_configurationChangeWatcher != null) { _configurationChangeWatcher.Dispose(); } _configurationChangeWatcher = null; }
private static void Shutdown() { if (_metaDataChangeWatcher != null) { _metaDataChangeWatcher.Dispose(); } _metaDataChangeWatcher = null; }
private static void Shutdown() { ChoProfile.DisposeAll(); if (_pbsDataChangeWatcher != null) { _pbsDataChangeWatcher.Dispose(); } _pbsDataChangeWatcher = null; ChoProfile.Default.Dispose(); _pbsStore.ForEach((keyValuePair) => { if (_profileBackingStopActionsCache.ContainsKey(keyValuePair.Key)) { keyValuePair.Value.Stop(_profileBackingStopActionsCache[keyValuePair.Key]); } }); //_profilerCache.Clear(); _profileBackingStopActionsCache.Clear(); }