Commit 532e5885 authored by Matthieu Dorier's avatar Matthieu Dorier

corrected engine destructor

parent 9a422f4d
...@@ -243,7 +243,8 @@ public: ...@@ -243,7 +243,8 @@ public:
if(!m_finalize_called) if(!m_finalize_called)
margo_wait_for_finalize(m_mid); margo_wait_for_finalize(m_mid);
} else { } else {
margo_finalize(m_mid); if(!m_finalize_called)
margo_finalize(m_mid);
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment