Bugfixes
This commit is contained in:
parent
be46eb5d13
commit
c77e47a8c5
@ -660,7 +660,7 @@ trait AuthKeyHandler
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (isset($this->init_auth_dcs[$id])) {
|
||||
if (isset($this->init_auth_dcs[$id]) || !$socket->hasConnection(0)) {
|
||||
$this->pending_auth = true;
|
||||
continue;
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ trait Loop
|
||||
*/
|
||||
public function loop($callback = null)
|
||||
{
|
||||
if (\is_callable($max_fcallbackorks)) {
|
||||
if (\is_callable($callback)) {
|
||||
$this->logger->logger('Running async callable');
|
||||
|
||||
return yield $callback();
|
||||
|
Loading…
Reference in New Issue
Block a user