Пример #1
0
 /// <summary>
 /// Stops the service from executing.
 /// </summary>
 public void Stop()
 {
     lock (typeof(DiscService))
     {
         if (collectionList != null)
         {
             // Stop the CollectionList thread.
             collectionList.Stop();
             collectionList = null;
         }
     }
     log.Debug("Stop called for Discovery");
 }