mirror of
https://github.com/danog/amp.git
synced 2024-11-30 04:29:08 +01:00
Remove missed wrap call
This commit is contained in:
parent
1fea860a05
commit
85de9f1f1e
@ -47,7 +47,7 @@ final class Loop {
|
|||||||
*/
|
*/
|
||||||
public static function run(callable $callback = null) {
|
public static function run(callable $callback = null) {
|
||||||
if ($callback) {
|
if ($callback) {
|
||||||
self::$driver->defer(wrap($callback));
|
self::$driver->defer($callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
self::$driver->run();
|
self::$driver->run();
|
||||||
|
Loading…
Reference in New Issue
Block a user