Fixes ZMQ startup with bad arguments.

This commit is contained in:
mrbandrews 2016-02-29 13:34:09 -05:00 committed by Jack Grigg
parent 63303d025d
commit d4cca6a320
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
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

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