elementary fixes to the named session

This commit is contained in:
Martin Sustrik
2010-08-24 11:19:22 +02:00
parent 46d7055565
commit 9b8993efb4
6 changed files with 37 additions and 55 deletions

View File

@@ -180,10 +180,8 @@ void zmq::zmq_init_t::finalise_initialisation ()
}
// There's no such named session. We have to create one.
// TODO:
zmq_assert (false);
// session = new (std::nothrow) named_session_t (io_thread, socket,
// options, peer_identity);
session = new (std::nothrow) named_session_t (io_thread, socket,
options, peer_identity);
zmq_assert (session);
launch_sibling (session);
engine->unplug ();