diff --git a/gtk/coroutine_winfibers.c b/gtk/coroutine_winfibers.c index a22da3b..a4cd14b 100644 --- a/gtk/coroutine_winfibers.c +++ b/gtk/coroutine_winfibers.c @@ -60,6 +60,7 @@ int coroutine_init(struct coroutine *co) } co->fiber = CreateFiber(0, &coroutine_trampoline, co); + co->ret = 0; if (co->fiber == NULL) return -1;