From 59037458d6bdf6579d64e97f8d9a9dbab885ce68 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 15 Aug 2025 21:27:31 -0400 Subject: [PATCH] Update esphome/core/application.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- esphome/core/application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/core/application.cpp b/esphome/core/application.cpp index a204781db7..ff8f567c89 100644 --- a/esphome/core/application.cpp +++ b/esphome/core/application.cpp @@ -270,7 +270,7 @@ void Application::teardown_components(uint32_t timeout_ms) { } uint32_t now = start_time; - size_t pending_count = pending_components.size(); + size_t pending_count = num_components; // Compaction algorithm for teardown // ==================================