mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 16:06:09 +00:00
Fix hang terminating PGM ZMQ_SUB (#822).
This commit is contained in:
parent
19712d3fbb
commit
94943bab3b
@ -288,7 +288,7 @@ void zmq::pgm_receiver_t::drop_subscriptions ()
|
|||||||
{
|
{
|
||||||
msg_t msg;
|
msg_t msg;
|
||||||
msg.init ();
|
msg.init ();
|
||||||
while (session->pull_msg (&msg))
|
while (session->pull_msg (&msg) == 0)
|
||||||
msg.close ();
|
msg.close ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user