Example #1
0
 public void Dispose()
 {
     uploader.Dispose();
     isRunning = false;
     try
     {
         pipeServer.Close();
     }
     catch { }
     try
     {
         pipeServer.Dispose();
     }
     catch { }
     try
     {
         pipeReaderThread.Abort();
     }
     catch { }
 }
Example #2
0
 private void OnDisable()
 {
     clear.Dispose();
     uploader.Dispose();
     tex.DestroySelf();
 }