mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-gtk
synced 2026-02-04 13:01:52 +00:00
windows: initialize co->ret to not randomly release fiber
This commit is contained in:
parent
a1ad3f06e5
commit
4b8102e9fe
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user