Skip to content

Commit 0040118

Browse files
committed
Fixes ZMQ startup with bad arguments.
1 parent 78e81b0 commit 0040118

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/zmq/zmqnotificationinterface.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ bool CZMQNotificationInterface::Initialize()
100100

101101
if (i!=notifiers.end())
102102
{
103-
Shutdown();
104103
return false;
105104
}
106105

src/zmq/zmqpublishnotifier.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ bool CZMQAbstractPublishNotifier::Initialize(void *pcontext)
6969
if (rc!=0)
7070
{
7171
zmqError("Failed to bind address");
72+
zmq_close(psocket);
7273
return false;
7374
}
7475

0 commit comments

Comments
 (0)