0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-17 04:50:57 +08:00

Merge pull request #427 from ianbarber/master

Init msg in pgm_receiver drop subs
This commit is contained in:
Pieter Hintjens 2012-09-25 23:44:40 -07:00
commit ff264cb044

View File

@ -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 ();
}