delete background task before upgrade

This commit is contained in:
Terrence
2025-01-13 06:49:01 +08:00
parent 03020d8e2e
commit b00bfaf181
4 changed files with 26 additions and 10 deletions

View File

@@ -82,7 +82,7 @@ private:
std::string last_iot_states_;
// Audio encode / decode
BackgroundTask background_task_;
BackgroundTask* background_task_ = nullptr;
std::chrono::steady_clock::time_point last_output_time_;
std::list<std::vector<uint8_t>> audio_decode_queue_;