mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 07:34:41 +01:00
commit
ba682d0eca
@ -477,4 +477,10 @@ abstract class EventHandler extends AbstractAPI
|
|||||||
|
|
||||||
return $plugins;
|
return $plugins;
|
||||||
}
|
}
|
||||||
|
public function __destruct()
|
||||||
|
{
|
||||||
|
if (\method_exists($this, 'onStop')) {
|
||||||
|
$this->onStop();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user