From 688d256edc4b8ba2c45446437d02a3123726bebf Mon Sep 17 00:00:00 2001 From: "Emil J. Tywoniak" Date: Tue, 26 May 2026 12:22:38 +0200 Subject: [PATCH] patch: fix gc --- kernel/unstable/patch.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/unstable/patch.cc b/kernel/unstable/patch.cc index 0597924e5..fcb81db6f 100644 --- a/kernel/unstable/patch.cc +++ b/kernel/unstable/patch.cc @@ -94,6 +94,7 @@ void Patch::gc(Cell* old_cell) { } } } + old_cell->module->remove(old_cell); for (auto input : inputs) gc(input); }