Fixes ZMQ startup with bad arguments.
This commit is contained in:
parent
63303d025d
commit
d4cca6a320
|
@ -100,7 +100,6 @@ bool CZMQNotificationInterface::Initialize()
|
|||
|
||||
if (i!=notifiers.end())
|
||||
{
|
||||
Shutdown();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -68,6 +68,7 @@ bool CZMQAbstractPublishNotifier::Initialize(void *pcontext)
|
|||
if (rc!=0)
|
||||
{
|
||||
zmqError("Failed to bind address");
|
||||
zmq_close(psocket);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue