Commit 27d9b54c authored by Matthias Hertel's avatar Matthias Hertel

avoid flush() after stop() on WiFiClient

parent 6688d301
......@@ -334,9 +334,7 @@ void Audio::setDefaults() {
vector_clear_and_shrink(m_playlistContent);
m_hashQueue.clear(); m_hashQueue.shrink_to_fit(); // uint32_t vector
client.stop();
client.flush(); // release memory
clientsecure.stop();
clientsecure.flush();
_client = static_cast<WiFiClient*>(&client); /* default to *something* so that no NULL deref can happen */
ts_parsePacket(0, 0, 0); // reset ts routine
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment