Skip to content

Commit 659adb7

Browse files
committed
fix for stackless
1 parent 8216aa4 commit 659adb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,9 @@ STATIC void cleanup_after_vm(stacks combo, mp_obj_t exception) {
379379
filesystem_flush();
380380
stop_mp();
381381
free_memory(combo.heap);
382+
#if MICROPY_ENABLE_PYSTACK
382383
free_memory(combo.pystack);
384+
#endif
383385
supervisor_move_memory();
384386

385387
// Let the workflows know we've reset in case they want to restart.

0 commit comments

Comments
 (0)