wingo pushed a commit to branch wip-whippet
in repository guile.

commit fbcdffdc620494d524e1c80785bdeadc579c86d3
Author: Andy Wingo <wi...@igalia.com>
AuthorDate: Fri May 16 22:01:06 2025 +0200

    Fix bogus assert in mmc.c:deactivate_mutator
---
 src/mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mmc.c b/src/mmc.c
index a5743fb5d..375548701 100644
--- a/src/mmc.c
+++ b/src/mmc.c
@@ -1293,7 +1293,7 @@ gc_finish_for_thread(struct gc_mutator *mut) {
 
 static void
 deactivate_mutator(struct gc_heap *heap, struct gc_mutator *mut) {
-  GC_ASSERT(mut->next == NULL);
+  GC_ASSERT(mut->active);
   nofl_allocator_finish(&mut->allocator, heap_nofl_space(heap));
   if (GC_GENERATIONAL)
     gc_field_set_writer_release_buffer(&mut->logger);

Reply via email to