From cc22e23a0633ff2c1eaa8560627e33c044708d6e Mon Sep 17 00:00:00 2001 From: Netkas Date: Tue, 28 Feb 2023 22:18:43 -0500 Subject: [PATCH] Removed unused destruct() --- src/TgBotLib/Bot.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/TgBotLib/Bot.php b/src/TgBotLib/Bot.php index ce3f992..44b6141 100644 --- a/src/TgBotLib/Bot.php +++ b/src/TgBotLib/Bot.php @@ -2333,19 +2333,4 @@ ]); return true; } - - /** - * Public Destructor - */ - public function __destruct() - { - try - { - $this->close(); - } - catch(Exception $e) - { - unset($e); - } - } } \ No newline at end of file