Skip to content

Commit 59d908d

Browse files
committed
Formatting
1 parent 21c5c8e commit 59d908d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Renci.SshNet/Common/AsyncResult.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,15 @@ public void SetAsCompleted(Exception exception, bool completedSynchronously)
6767

6868
// If the event exists, set it
6969
if (_asyncWaitHandle != null)
70+
{
7071
_asyncWaitHandle.Set();
72+
}
7173

7274
// If a callback method was set, call it
7375
if (_asyncCallback != null)
76+
{
7477
_asyncCallback(this);
78+
}
7579
}
7680

7781
/// <summary>

0 commit comments

Comments
 (0)