Exemplo n.º 1
0
 protected override void Stop()
 {
     if (_theProcessor != null)
     {
         _theProcessor.Stop();
         _theProcessor = null;
     }
 }
        protected override void Stop()
        {
            //TODO CR (Jan 2014): Move this into the base if it applies to all subclasses?
            PersistentStoreRegistry.GetDefaultStore().ShutdownRequested = true;

            if (_theProcessor != null)
            {
                _theProcessor.Stop();
                _theProcessor = null;
            }
        }