Exemple #1
0
 public void Dispose()
 {
     try
     {
         sharing.Dispose();
         ThreadManager.Abort("StreamTimeout");
         foreach (string identifier in Streams.Keys)
         {
             EndStream(identifier);
         }
     }
     catch (Exception ex)
     {
         Log.Info("Failed to dispose WSS", ex);
     }
 }
 public void Dispose()
 {
     try
     {
         sharing.Dispose();
         timeoutTimer.Stop();
         foreach (string identifier in Streams.Keys)
         {
             EndStream(identifier);
         }
     }
     catch (Exception ex)
     {
         Log.Info("Failed to dispose WSS", ex);
     }
 }