Finally fix CTRL-C
This commit is contained in:
parent
105ffb443a
commit
59e00e8ba9
File diff suppressed because one or more lines are too long
@ -216,7 +216,7 @@ trait Tools
|
||||
} catch (\Throwable $throwable) {
|
||||
throw new \Error('Loop exceptionally stopped without resolving the promise', 0, $throwable);
|
||||
}
|
||||
} while (!$resolved);
|
||||
} while (!$resolved && !Magic::$signaled);
|
||||
|
||||
if ($exception) {
|
||||
throw $exception;
|
||||
|
Loading…
Reference in New Issue
Block a user