f i x i n g a t 3 a m
This commit is contained in:
parent
8c59efbd96
commit
1cb0378a16
@ -251,9 +251,9 @@ class CombinedAPI
|
|||||||
}
|
}
|
||||||
$instance->setCallback(function ($update) use ($path) {
|
$instance->setCallback(function ($update) use ($path) {
|
||||||
return $this->event_update_handler($update, $path);
|
return $this->event_update_handler($update, $path);
|
||||||
});
|
}, ['async' => false]);
|
||||||
if ($this->loop_callback !== null) {
|
if ($this->loop_callback !== null) {
|
||||||
$instance->setLoopCallback($this->loop_callback);
|
$instance->setLoopCallback($this->loop_callback, ['async' => false]);
|
||||||
}
|
}
|
||||||
$loops[] = $this->call($instance->loop(0, ['async' => true]));
|
$loops[] = $this->call($instance->loop(0, ['async' => true]));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user