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.
2 parents d7be24d + 34e37e2 commit a23ed08Copy full SHA for a23ed08
src/client/impl/ConnectionBase.cs
@@ -334,7 +334,17 @@ public IList ShutdownReport
334
335
void IDisposable.Dispose()
336
{
337
- Close();
+ Abort();
338
+ if (ShutdownReport.Count > 0)
339
+ {
340
+ foreach (ShutdownReportEntry entry in ShutdownReport)
341
342
+ if (entry.Exception != null)
343
+ throw entry.Exception;
344
+ }
345
+
346
+ throw new OperationInterruptedException(null);
347
348
}
349
350
///<summary>API-side invocation of connection close.</summary>
0 commit comments