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:
commit
ff264cb044
@ -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 ();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user