drieseng 5 år sedan
förälder
incheckning
59d908d308
1 ändrade filer med 4 tillägg och 0 borttagningar
  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>