We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 423427d commit 3a16259Copy full SHA for 3a16259
ext_components/StackFlow/stackflow/pzmq.hpp
@@ -394,6 +394,8 @@ class pzmq {
394
}
395
void close_zmq()
396
{
397
+ int linger = 0;
398
+ zmq_setsockopt(zmq_socket_, ZMQ_LINGER, &linger, sizeof(linger));
399
zmq_close(zmq_socket_);
400
zmq_ctx_destroy(zmq_ctx_);
401
if ((mode_ == ZMQ_PUB) || (mode_ == ZMQ_PULL) || (mode_ == ZMQ_RPC_FUN)) {
0 commit comments