Beispiel #1
0
 public void Dispose()
 {
     if (_uploader != null)
     {
         // We just need to finish this off on a new thread
         try
         {
             SafeTask.SafeWait(() => _uploader.Abort());
         } catch (Exception) { }
         _uploader = null;
     }
     _isComplete = true;
 }