Commit 2bf89bd0 authored by Martin Hurton's avatar Martin Hurton

Merge pull request #1185 from banburybill/master

Fix hang terminating PGM ZMQ_SUB (#822).
parents 19712d3f 94943bab
......@@ -288,7 +288,7 @@ void zmq::pgm_receiver_t::drop_subscriptions ()
{
msg_t msg;
msg.init ();
while (session->pull_msg (&msg))
while (session->pull_msg (&msg) == 0)
msg.close ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment