Commit c1dfd981 authored by Robert Kimball's avatar Robert Kimball Committed by Scott Cyphers

remove throw from dtor (#2854)

parent e238d5f9
...@@ -61,7 +61,6 @@ runtime::cpu::CPU_CallFrame::~CPU_CallFrame() ...@@ -61,7 +61,6 @@ runtime::cpu::CPU_CallFrame::~CPU_CallFrame()
cleanup_runtime_context(); cleanup_runtime_context();
if (!m_external_function->is_direct_execution()) if (!m_external_function->is_direct_execution())
{ {
NGRAPH_CHECK(m_compiled_destroy_ctx_func, "compiled_destroy_ctx_func cannot be null.");
m_compiled_destroy_ctx_func(cg_ctx); m_compiled_destroy_ctx_func(cg_ctx);
} }
} }
......
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