X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-comm.c;h=862e513feb86154f9e1c29d15e88b3d08af59cd8;hb=ce51a2bccc437266e81105b67769ec8feda45192;hp=e00a22ce4cae66dd7161111ba5de342dea7267b5;hpb=8ec12503e335b8c3e9bfde94a77cbbe844ab978f;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-comm.c b/liblttng-ust/lttng-ust-comm.c index e00a22ce..862e513f 100644 --- a/liblttng-ust/lttng-ust-comm.c +++ b/liblttng-ust/lttng-ust-comm.c @@ -1696,6 +1696,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