fix trex-362
authorHanoh Haim <[email protected]>
Mon, 27 Feb 2017 11:54:19 +0000 (13:54 +0200)
committerHanoh Haim <[email protected]>
Mon, 27 Feb 2017 11:54:43 +0000 (13:54 +0200)
Signed-off-by: Hanoh Haim <[email protected]>
src/main_dpdk.cpp

index 1e78097..af37e42 100644 (file)
@@ -4074,12 +4074,14 @@ bool CGlobalTRex::Create(){
 void CGlobalTRex::Delete(){
 
     m_zmq_publisher.Delete();
-    m_fl.Delete();
 
     if (m_trex_stateless) {
         delete m_trex_stateless;
         m_trex_stateless = NULL;
     }
+
+    m_fl.Delete();
+
 }