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.
1 parent 06ef4ec commit 0a9e405Copy full SHA for 0a9e405
projects/RabbitMQ.Client/client/impl/SocketFrameHandler.cs
@@ -216,6 +216,8 @@ public void Close()
216
{
217
_channelWriter.Complete();
218
_writerTask?.GetAwaiter().GetResult();
219
+ _pipeWriter.Complete();
220
+ _pipeReader.Complete();
221
}
222
catch
223
@@ -250,6 +252,10 @@ public bool TryReadFrame(out InboundFrame frame)
250
252
251
253
public void SendHeader()
254
255
+ /*
256
+ * Note: this stream is deliberately not disposed
257
+ * https://github.com/rabbitmq/rabbitmq-dotnet-client/pull/1264#discussion_r1100742748
258
+ */
259
#if NET
260
_pipeWriter.AsStream().Write(ProtocolHeader);
261
#else
0 commit comments