drieseng 5 роки тому
батько
коміт
59d908d308
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      src/Renci.SshNet/Common/AsyncResult.cs

+ 4 - 0
src/Renci.SshNet/Common/AsyncResult.cs

@@ -67,11 +67,15 @@ namespace Renci.SshNet.Common
 
             // If the event exists, set it
             if (_asyncWaitHandle != null)
+            {
                 _asyncWaitHandle.Set();
+            }
 
             // If a callback method was set, call it
             if (_asyncCallback != null)
+            {
                 _asyncCallback(this);
+            }
         }
 
         /// <summary>