Add bt_common_abort() and use it instead of abort() directly
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt_trace.i.h
index e8cd75b7c891f622c3ba0f0e1c446dd54b46ea67..4b7f790426e1468997420657a0bcfa3cf6410b08 100644 (file)
@@ -32,7 +32,7 @@ trace_destroyed_listener(const bt_trace *trace, void *py_callable)
                SWIGTYPE_p_bt_trace, 0);
        if (!py_trace_ptr) {
                BT_LOGF_STR("Failed to create a SWIG pointer object.");
-               abort();
+               bt_common_abort();
        }
 
        py_res = PyObject_CallFunction(py_callable, "(O)", py_trace_ptr);
This page took 0.035647 seconds and 4 git commands to generate.