Commit ff264cb0 authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #427 from ianbarber/master

Init msg in pgm_receiver drop subs
parents 2a209140 afa4933c
......@@ -274,6 +274,7 @@ void zmq::pgm_receiver_t::timer_event (int token)
void zmq::pgm_receiver_t::drop_subscriptions ()
{
msg_t msg;
msg.init ();
while (session->pull_msg (&msg))
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