Commit 92825352 authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

solved a pbm with the destructor of async_response

parent ccc99e41
......@@ -85,7 +85,8 @@ public:
* @brief Destructor.
*/
~async_response() {
margo_destroy(m_handle);
if(m_handle != HG_HANDLE_NULL)
margo_destroy(m_handle);
}
/**
......
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