Ejemplo n.º 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);
     }
 }
Ejemplo n.º 2
0
 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);
     }
 }