summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2017-02-27 13:53:38 +0200
committerHanoh Haim <hhaim@cisco.com>2017-02-27 13:54:43 +0200
commit3f7dea42eecf7c01538e23d5fb7d6227d9b8332e (patch)
tree8b3eb1c90341c019d3b73b869bb507df2816a35d /src
parente1a6947bc707539761bae28b9fcdb2d5217a66f5 (diff)
fix trex-361
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
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
}