Merge #7621: Fixes ZMQ startup with bad arguments.

0040118 Fixes ZMQ startup with bad arguments. (mrbandrews)
This commit is contained in:
Wladimir J. van der Laan 2016-03-15 09:29:47 +01:00
commit a6a860796a
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
2 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,6 @@ bool CZMQNotificationInterface::Initialize()
if (i!=notifiers.end())
{
Shutdown();
return false;
}

View File

@ -69,6 +69,7 @@ bool CZMQAbstractPublishNotifier::Initialize(void *pcontext)
if (rc!=0)
{
zmqError("Failed to bind address");
zmq_close(psocket);
return false;
}