1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 05:34:42 +01:00
This commit is contained in:
Daniil Gentili 2023-10-01 21:12:25 +02:00
parent 6d3f4336b1
commit f06cce31ed

View File

@ -479,7 +479,7 @@ abstract class EventHandler extends AbstractAPI
}
public function __destruct()
{
if (\method_exists($this, 'onStop')) {
if (method_exists($this, 'onStop')) {
$this->onStop();
}
}