Sessions fixes

This commit is contained in:
Alexander Pankratov 2020-01-20 04:09:54 +03:00
parent 8a11ca7524
commit 89b90be411

View File

@ -102,7 +102,7 @@ class Client
Loop::defer(static function() use($instance) {
$instance->loop(['async' => true]);
});
} else {
} elseif($startSession === true) {
$instance->loop(function() use($instance) {
yield $instance->start();
});