From a1fc26b8a8fee75dc8017454c46170cda7135dbf Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Mon, 4 Nov 2019 14:14:57 -0800 Subject: [PATCH] zmq_ctx_term is blocking --- messaging/impl_zmq.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/messaging/impl_zmq.cc b/messaging/impl_zmq.cc index 77c35a6567597e..685b8140c9b36a 100644 --- a/messaging/impl_zmq.cc +++ b/messaging/impl_zmq.cc @@ -47,7 +47,8 @@ ZMQContext::ZMQContext() { } ZMQContext::~ZMQContext() { - zmq_ctx_term(context); + // TODO: Figure out how to close context when sockets are still open + // zmq_ctx_term(context); } void ZMQMessage::init(size_t sz) {