Skip to content

Commit 0a272cd

Browse files
committed
Add test to demonstrate that #825 is fixed
Fixes #825 in `main`
1 parent 72713ee commit 0a272cd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

projects/Test/Integration/TestConnectionShutdown.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,12 @@ public async Task TestConsumerDispatcherShutdown()
161161
await WaitAsync(tcs, TimeSpan.FromSeconds(3), "channel shutdown");
162162
Assert.True(m.ConsumerDispatcher.IsShutdown, "dispatcher should be shut down after Close");
163163
}
164+
165+
[Fact]
166+
public async Task TestDisposeAfterAbort_GH825()
167+
{
168+
await _channel.AbortAsync();
169+
_channel.Dispose();
170+
}
164171
}
165172
}

0 commit comments

Comments
 (0)