We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1baa0de commit e78f98cCopy full SHA for e78f98c
src/Servers/Kestrel/Transport.NamedPipes/src/Internal/NamedPipeConnectionListener.cs
@@ -166,8 +166,8 @@ public async ValueTask DisposeAsync()
166
await Task.WhenAll(_listeningTasks);
167
}
168
169
- // Dispose pool after listening tasks are complete so there is no chance a stream
170
- // is fetched from the pool after the pool is disposed.
+ // Dispose pool after listening tasks are complete so there is no chance a stream is fetched from the pool after the pool is disposed.
+ // Important to dispose because this empties and disposes streams in the pool.
171
((IDisposable)_namedPipeServerStreamPool).Dispose();
172
173
0 commit comments