mirror of
https://github.com/danog/amp.git
synced 2024-11-27 04:24:42 +01:00
Put Loop::get() back
Why do I keep thinking null uses the current loop... bah
This commit is contained in:
parent
dd70850682
commit
3edab2dfd3
@ -56,7 +56,7 @@ function wait(Awaitable $awaitable) {
|
||||
$exception = $e;
|
||||
$value = $v;
|
||||
});
|
||||
});
|
||||
}, Loop::get());
|
||||
|
||||
if (!$resolved) {
|
||||
throw new \LogicException("Loop emptied without resolving awaitable");
|
||||
|
Loading…
Reference in New Issue
Block a user