We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TrySetException
1 parent e84b414 commit eb5be9fCopy full SHA for eb5be9f
projects/RabbitMQ.Client/client/impl/AsyncRpcContinuations.cs
@@ -111,7 +111,7 @@ public ConfiguredTaskAwaitable<T>.ConfiguredTaskAwaiter GetAwaiter()
111
112
public virtual void HandleChannelShutdown(ShutdownEventArgs reason)
113
{
114
- _tcs.SetException(new OperationInterruptedException(reason));
+ _tcs.TrySetException(new OperationInterruptedException(reason));
115
}
116
117
protected virtual void Dispose(bool disposing)
0 commit comments