1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 11:22:24 +01:00
This commit is contained in:
J. Nick Koston
2025-08-15 15:40:19 -05:00
parent 405ebe90f5
commit 0a66612399

View File

@@ -257,7 +257,7 @@ void Application::teardown_components(uint32_t timeout_ms) {
uint32_t start_time = millis(); uint32_t start_time = millis();
// Use a StaticVector instead of std::vector to avoid heap allocation // Use a StaticVector instead of std::vector to avoid heap allocation
// since we know the maximum size at compile time // since we know the actual size at compile time
StaticVector<Component *, ESPHOME_COMPONENT_COUNT> pending_components; StaticVector<Component *, ESPHOME_COMPONENT_COUNT> pending_components;
// Copy all components in reverse order // Copy all components in reverse order