Fixes ZMQ startup with bad arguments.
This commit is contained in:
parent
78e81b0bc5
commit
0040118959
2 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,6 @@ bool CZMQNotificationInterface::Initialize()
|
||||||
|
|
||||||
if (i!=notifiers.end())
|
if (i!=notifiers.end())
|
||||||
{
|
{
|
||||||
Shutdown();
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@ bool CZMQAbstractPublishNotifier::Initialize(void *pcontext)
|
||||||
if (rc!=0)
|
if (rc!=0)
|
||||||
{
|
{
|
||||||
zmqError("Failed to bind address");
|
zmqError("Failed to bind address");
|
||||||
|
zmq_close(psocket);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue