Skip to content

Commit d95b519

Browse files
committed
unix, windows: Don't call mp_unix_mark_exec on windows.
1 parent d9dc6ff commit d95b519

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

unix/gccollect.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ void gc_collect(void) {
131131
// GC stack (and regs because we captured them)
132132
void **regs_ptr = (void**)(void*)&regs;
133133
gc_collect_root(regs_ptr, ((mp_uint_t)MP_STATE_VM(stack_top) - (mp_uint_t)&regs) / sizeof(mp_uint_t));
134+
#ifndef _WIN32
134135
mp_unix_mark_exec();
136+
#endif
135137
gc_collect_end();
136138

137139
//printf("-----\n");

0 commit comments

Comments
 (0)