do not call nn_term()

nn_term() will globally lock down the nanosmsg library. The nn_init()
interface is no longer available to reset the global state. Subsequent unit
tests after the first nn_term() call are failing.
This commit is contained in:
Dennis Klein 2017-05-22 19:54:06 +02:00 committed by Mohammad Al-Turany
parent d2c78479f0
commit 8b93b4f8ed

View File

@ -68,7 +68,8 @@ FairMQPollerPtr FairMQTransportFactoryNN::CreatePoller(const FairMQSocket& cmdSo
void FairMQTransportFactoryNN::Shutdown()
{
nn_term();
// nn_term();
// see https://www.freelists.org/post/nanomsg/Getting-rid-of-nn-init-and-nn-term,8
}
void FairMQTransportFactoryNN::Terminate()