drieseng 5 gadi atpakaļ
vecāks
revīzija
59d908d308
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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>