Closed pervozdanniy closed 5 years ago
Is it expected behavior that child coroutines looses parent's context on delay?
go(function() { $uid = \Co::getuid(); go(function () use ($uid) { sleep(2); var_dump(\Co::getContext($uid)); //NULL }); });
goto https://github.com/swoole/swoole-src/issues/2463
Is it expected behavior that child coroutines looses parent's context on delay?