X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-abi.c;h=c06f69dca5a0982d28ed00e45fadd0ea5ae4446c;hb=28ae8cd513ae548a8c9ab565f60b821077fc252e;hp=7e513a98d09393c4d379e791406d3c151ee1df10;hpb=3beaf0041b430820d2f727fa601c13f95522b55e;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; }