From: Hanoh Haim Date: Mon, 27 Feb 2017 11:53:38 +0000 (+0200) Subject: fix trex-361 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=3f7dea42eecf7c01538e23d5fb7d6227d9b8332e;p=trex.git fix trex-361 Signed-off-by: Hanoh Haim --- diff --git a/src/publisher/trex_publisher.cpp b/src/publisher/trex_publisher.cpp index 224604e9..dc37d14c 100644 --- a/src/publisher/trex_publisher.cpp +++ b/src/publisher/trex_publisher.cpp @@ -76,10 +76,15 @@ TrexPublisher::Delete(){ zmq_close (m_publisher); m_publisher = NULL; } + +/* Deadlock inside ZMQ better to have leakage in termination - see + https://trex-tgn.cisco.com/youtrack/issue/trex-361 */ +#if 0 if (m_context) { zmq_ctx_destroy (m_context); m_context = NULL; } +#endif }