This commit is contained in:
e2002
2023-09-22 09:37:52 +03:00
parent 341e5185d7
commit 3662c2dbb7
4 changed files with 6 additions and 9 deletions

View File

@@ -316,10 +316,7 @@ void Audio::setDefaults() {
vector_clear_and_shrink(m_playlistContent);
m_hashQueue.clear(); m_hashQueue.shrink_to_fit(); // uint32_t vector
if(config.getMode()!=PM_SDCARD){
client.stop();
client.flush(); // release memory
clientsecure.stop();
clientsecure.flush();
if(_client) _client->stop();
_client = static_cast<WiFiClient*>(&client); /* default to *something* so that no NULL deref can happen */
}
playI2Sremains();

View File

@@ -1613,10 +1613,7 @@ void Audio::setDefaults(){
vector_clear_and_shrink(m_playlistURL);
vector_clear_and_shrink(m_playlistContent);
if(config.getMode()!=PM_SDCARD){
client.stop();
client.flush(); // release memory
clientsecure.stop();
clientsecure.flush();
if(_client) _client->stop();
_client = static_cast<WiFiClient*>(&client); /* default to *something* so that no NULL deref can happen */
}
m_f_ctseen=false; // Contents type not seen yet

View File

@@ -1,7 +1,7 @@
#ifndef options_h
#define options_h
#define YOVERSION "0.9.260"
#define YOVERSION "0.9.273"
/*******************************************************
DO NOT EDIT THIS FILE.