diff --git a/src/UniversalTelegramBot.cpp b/src/UniversalTelegramBot.cpp index 587106e..5300f0e 100644 --- a/src/UniversalTelegramBot.cpp +++ b/src/UniversalTelegramBot.cpp @@ -693,10 +693,8 @@ bool UniversalTelegramBot::sendChatAction(String chat_id, String text) { } void UniversalTelegramBot::closeClient(){ -#ifdef ESP32 if(client->connected()){ if(_debug){Serial.println(F("Closing client")); } client->stop(); } -#endif }