X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-comm.c;fp=liblttng-ust%2Flttng-ust-comm.c;h=8e86896f4b2b7c39904ee5112e42a2488332c33e;hb=18e3b2499220328c36db4ade4a6d28c283af1e88;hp=1c022ef139f142d9ecc1a91bb625ffbcf9ca98e9;hpb=cb5925aaaf0950d2a14dd36da7e65b4049c18743;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-comm.c b/liblttng-ust/lttng-ust-comm.c index 1c022ef1..8e86896f 100644 --- a/liblttng-ust/lttng-ust-comm.c +++ b/liblttng-ust/lttng-ust-comm.c @@ -1620,6 +1620,7 @@ void lttng_ust_cleanup(int exiting) { cleanup_sock_info(&global_apps, exiting); cleanup_sock_info(&local_apps, exiting); + local_apps.allowed = 0; /* * The teardown in this function all affect data structures * accessed under the UST lock by the listener thread. This