This is a bug which comes from
3f3b176151b4163f9ae85bc583865850a18a6ce4,
where `NDEBUG` was changed to `BT_DEBUG_MODE` without also inverting the
preprocessor condition.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I435bbc376323803403ee133971bcb4b7c559afe5
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1648
}
if (shared_lib_handle->module) {
}
if (shared_lib_handle->module) {
/*
* Valgrind shows incomplete stack traces when
* dynamically loaded libraries are closed before it
/*
* Valgrind shows incomplete stack traces when
* dynamically loaded libraries are closed before it
}
shared_lib_handle->module = NULL;
}
shared_lib_handle->module = NULL;
} else {
BT_LOGI("Not closing GModule because `LIBBABELTRACE2_NO_DLCLOSE=1`: "
"path=\"%s\"", path);
} else {
BT_LOGI("Not closing GModule because `LIBBABELTRACE2_NO_DLCLOSE=1`: "
"path=\"%s\"", path);