diff options
Diffstat (limited to 'libguile/threads.c')
-rw-r--r-- | libguile/threads.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libguile/threads.c b/libguile/threads.c index 8dc3414dc..d81f4f4ef 100644 --- a/libguile/threads.c +++ b/libguile/threads.c @@ -720,7 +720,9 @@ on_thread_exit (void *v) scm_i_pthread_setspecific (scm_i_thread_key, NULL); +#if !SCM_USE_NULL_THREADS GC_unregister_my_thread (); +#endif } static scm_i_pthread_once_t init_thread_key_once = SCM_I_PTHREAD_ONCE_INIT; |