Skip to content

Commit

Permalink
Merge pull request #933 from valeriob/bugfix_do_not_close_a_new_subsc…
Browse files Browse the repository at this point in the history
…ription_message

do not close a new subscription message right after it's creation
  • Loading branch information
somdoron authored Sep 7, 2020
2 parents 9e4fcc5 + 43ec99b commit 671cabc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/NetMQ/Core/Transports/StreamEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,6 @@ PushMsgResult ProcessRoutingIdMsg (ref Msg msg)
if (m_subscriptionRequired)
{
Msg subscription = new Msg();
subscription.Close();
subscription.InitPool(1);
subscription.Put((byte)1);

Expand Down

0 comments on commit 671cabc

Please sign in to comment.