X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-abi.c;h=c06f69dca5a0982d28ed00e45fadd0ea5ae4446c;hb=701a658fd5a280b60d13795a95c2e6470fd24dde;hp=7e513a98d09393c4d379e791406d3c151ee1df10;hpb=e446ad804d2b73f6e141cff114c7ca0439e368d0;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-abi.c b/liblttng-ust/lttng-ust-abi.c index 7e513a98..c06f69dc 100644 --- a/liblttng-ust/lttng-ust-abi.c +++ b/liblttng-ust/lttng-ust-abi.c @@ -989,6 +989,8 @@ static const struct lttng_ust_objd_ops lttng_enabler_ops = { void lttng_ust_abi_exit(void) { lttng_ust_abi_close_in_progress = 1; + ust_lock_nocheck(); objd_table_destroy(); + ust_unlock(); lttng_ust_abi_close_in_progress = 0; }