mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
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:
parent
d2c78479f0
commit
8b93b4f8ed
|
@ -68,7 +68,8 @@ FairMQPollerPtr FairMQTransportFactoryNN::CreatePoller(const FairMQSocket& cmdSo
|
||||||
|
|
||||||
void FairMQTransportFactoryNN::Shutdown()
|
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()
|
void FairMQTransportFactoryNN::Terminate()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user