Commit 39214b3e authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #533 from mika-fischer/workaround-for-496

Work around for LIBZMQ-496
parents 3b132e33 03c28411
......@@ -33,6 +33,11 @@ zmq::mailbox_t::mailbox_t ()
zmq::mailbox_t::~mailbox_t ()
{
// TODO: Retrieve and deallocate commands inside the cpipe.
// Work around problem that other threads might still be in our
// send() method, by waiting on the mutex before disappearing.
sync.lock ();
sync.unlock ();
}
zmq::fd_t zmq::mailbox_t::get_fd ()
......
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