shithub: MicroHs

Download patch

ref: e456bd41ffe05a0b7bf811df3660e1615c36f640
parent: a188d78bedc9c0a0691c3580b6faff73e0d4bf9b
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Sat Aug 31 05:43:39 EDT 2024

Reinstate final gc()

--- a/src/runtime/eval.c
+++ b/src/runtime/eval.c
@@ -3849,7 +3849,7 @@
   execio(&TOP(0));
   prog = TOP(0);
   POP(1);
-  //gc();                      /* Run finalizers */
+  gc();                      /* Run finalizers */
 #if SANITY
   if (GETTAG(prog) != T_AP || GETTAG(FUN(prog)) != T_IO_RETURN)
     ERR("main execio");
--