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.
_disposed
1 parent 2de26be commit a25c1b6Copy full SHA for a25c1b6
projects/RabbitMQ.Client/Impl/Channel.cs
@@ -529,6 +529,11 @@ void IDisposable.Dispose()
529
530
protected virtual void Dispose(bool disposing)
531
{
532
+ if (_disposed)
533
+ {
534
+ return;
535
+ }
536
+
537
if (IsDisposing)
538
539
return;
@@ -559,6 +564,11 @@ protected virtual void Dispose(bool disposing)
559
564
560
565
public async ValueTask DisposeAsync()
561
566
567
568
569
570
571
562
572
await DisposeAsyncCore()
563
573
.ConfigureAwait(false);
574
@@ -567,6 +577,11 @@ await DisposeAsyncCore()
577
578
protected virtual async ValueTask DisposeAsyncCore()
579
580
581
582
583
584
585
586
587
0 commit comments