From 28103d15d509ee71d616ba1baa89e0d9075a40a9 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 1 Aug 2024 15:01:14 +0300 Subject: [PATCH] thirdparty: fix GC_suspend_handler_inner in gc.c after cca6755 --- thirdparty/libgc/gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/libgc/gc.c b/thirdparty/libgc/gc.c index f8e44bc10b..73424691d4 100644 --- a/thirdparty/libgc/gc.c +++ b/thirdparty/libgc/gc.c @@ -35507,7 +35507,7 @@ STATIC void GC_suspend_handler_inner(ptr_t dummy, void *context) GC_log_printf("Suspending %p\n", (void *)pthread_self()); # endif me = GC_lookup_self_thread_async(); - if (NULL == me) return NULL; // __v_, make the sanitizers and -cstrict happy + if (NULL == me) return; // __v_, make the sanitizers and -cstrict happy if ((me -> last_stop_count & ~(word)THREAD_RESTARTED) == my_stop_count) { /* Duplicate signal. OK if we are retrying. */ if (!GC_retry_signals) {