private static void Shutdown()
 {
     if (_configurationChangeWatcher != null)
     {
         _configurationChangeWatcher.Dispose();
     }
     _configurationChangeWatcher = null;
 }
示例#2
0
 protected override void Dispose(bool finalize)
 {
     if (_configurationChangeWatcher != null)
     {
         _configurationChangeWatcher.Dispose();
     }
     _configurationChangeWatcher = null;
 }
 private static void Shutdown()
 {
     if (_metaDataChangeWatcher != null)
     {
         _metaDataChangeWatcher.Dispose();
     }
     _metaDataChangeWatcher = null;
 }
示例#4
0
        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();
        }