summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/publisher/trex_publisher.cpp5
1 files changed, 5 insertions, 0 deletions
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
}