diff --git a/src/system/libroot/os/thread.c b/src/system/libroot/os/thread.c index c6e3c8d864..e07424eb1d 100644 --- a/src/system/libroot/os/thread.c +++ b/src/system/libroot/os/thread.c @@ -113,6 +113,8 @@ _thread_do_exit_notification(void) node = next; } + + tls_set(TLS_ON_EXIT_THREAD_SLOT, NULL); }