mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
zeromq: fix shutdown close pending socket
This commit is contained in:
parent
eef7764b8a
commit
89e4f3588f
1 changed files with 6 additions and 0 deletions
|
@ -358,6 +358,12 @@ int zeromq_stop(struct node *n)
|
|||
ret = zmq_close(z->subscriber.socket);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
#ifdef ZMQ_BUILD_DRAFT_API
|
||||
ret = zmq_close(z->subscriber.mon_socket);
|
||||
if (ret)
|
||||
return ret;
|
||||
#endif
|
||||
|
||||
return zmq_close(z->publisher.socket);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue