From 3edab2dfd3837b580d8e7716d6b3b240ecb569a4 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Thu, 26 May 2016 18:15:33 -0500 Subject: [PATCH] Put Loop::get() back Why do I keep thinking null uses the current loop... bah --- lib/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index 8deb6d9..f3f629e 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -56,7 +56,7 @@ function wait(Awaitable $awaitable) { $exception = $e; $value = $v; }); - }); + }, Loop::get()); if (!$resolved) { throw new \LogicException("Loop emptied without resolving awaitable");