Add bt_common_abort() and use it instead of abort() directly
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt_trace_class.i.h
index 1e1eb3c1b2ae4b4af8bfdad8993f5b41b8e32d5f..48a1734ac17a178a6486dca7e5801ef751c7ea36 100644 (file)
@@ -32,7 +32,7 @@ trace_class_destroyed_listener(const bt_trace_class *trace_class, void *py_calla
                SWIGTYPE_p_bt_trace_class, 0);
        if (!py_trace_class_ptr) {
                BT_LOGF_STR("Failed to create a SWIG pointer object.");
-               abort();
+               bt_common_abort();
        }
 
        py_res = PyObject_CallFunction(py_callable, "(O)", py_trace_class_ptr);
This page took 0.022817 seconds and 4 git commands to generate.