Commit c818b14b authored by Piotr Trojanek's avatar Piotr Trojanek Committed by Martin Sustrik

clearing thread info structure

parent 74a3907b
......@@ -151,6 +151,7 @@ zmq::socket_base_t *zmq::ctx_t::create_socket (int type_)
// Create the new application thread proxy object.
app_thread_info_t info;
memset (&info, 0, sizeof (info));
info.associated = false;
info.app_thread = new (std::nothrow) app_thread_t (this,
io_threads.size () + app_threads.size ());
......
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