Commit d15e881e authored by Martin Sustrik's avatar Martin Sustrik

unplugged engine tries to manipulate the pollset -- fixed

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent b19ee99b
......@@ -133,7 +133,8 @@ void zmq::zmq_engine_t::in_event ()
// This may happen if queue limits are in effect or when
// init object reads all required information from the socket
// and rejects to read more data.
reset_pollin (handle);
if (plugged)
reset_pollin (handle);
}
// Adjust the buffer.
......
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