Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Renci.SshNet/Common/AsyncResult.cs
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
using System;
using System.Runtime.ExceptionServices;
using System.Threading;

namespace Renci.SshNet.Common
Expand DownExpand Up@@ -85,7 +86,7 @@ internal void EndInvoke()
// Operation is done: if an exception occurred, throw it
if (_exception != null)
{
throw _exception;
ExceptionDispatchInfo.Capture(_exception).Throw();
}
}

Expand Down