private static void Shutdown()
 {
     if (_configurationChangeWatcher != null)
     {
         _configurationChangeWatcher.Dispose();
     }
     _configurationChangeWatcher = null;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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();
        }