mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
Merge branch 'dev' into infrared-base-platform
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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_();
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user