From 3f7dea42eecf7c01538e23d5fb7d6227d9b8332e Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Mon, 27 Feb 2017 13:53:38 +0200 Subject: fix trex-361 Signed-off-by: Hanoh Haim --- src/publisher/trex_publisher.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 } -- cgit 1.2.3-korg