Merge branch 'dev' into infrared-base-platform

This commit is contained in:
Keith Burzinski
2026-01-10 19:24:30 -06:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -2014,8 +2014,8 @@ void WiFiComponent::release_scan_results_() {
// std::vector - use swap trick since shrink_to_fit is non-binding
decltype(this->scan_result_)().swap(this->scan_result_);
#else
// FixedVector::shrink_to_fit() actually frees all memory
this->scan_result_.shrink_to_fit();
// FixedVector::release() frees all memory
this->scan_result_.release();
#endif
}
}

View File

@@ -293,8 +293,8 @@ template<typename T> class FixedVector {
size_ = 0;
}
// Shrink capacity to fit current size (frees all memory)
void shrink_to_fit() {
// Release all memory (destroys elements and frees memory)
void release() {
cleanup_();
reset_();
}

View File

@@ -12,7 +12,7 @@ platformio==6.1.18 # When updating platformio, also update /docker/Dockerfile
esptool==5.1.0
click==8.1.7
esphome-dashboard==20260110.0
aioesphomeapi==43.10.1
aioesphomeapi==43.11.0
zeroconf==0.148.0
puremagic==1.30
ruamel.yaml==0.19.1 # dashboard_import