mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
Fix: properly stop session
This commit is contained in:
parent
237415ec14
commit
c4718c0fec
@ -88,6 +88,7 @@ class Client
|
||||
if (!empty($instance->API)) {
|
||||
$instance->unsetEventHandler();
|
||||
$instance->stop();
|
||||
$instance->API->unreference();
|
||||
}
|
||||
unset($instance);
|
||||
gc_collect_cycles();
|
||||
|
Loading…
Reference in New Issue
Block a user