1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 23:21:54 +00:00
This commit is contained in:
J. Nick Koston
2025-08-17 16:28:32 -04:00
parent e06dbffe9f
commit c56fd00a7c
3 changed files with 69 additions and 51 deletions

View File

@@ -409,8 +409,6 @@ void HOT Scheduler::call(uint32_t now) {
// This handles two cases:
// 1. Item was marked for removal after cleanup_() but before we got here
// 2. Item is marked for removal but wasn't at the front of the heap during cleanup_()
// TEMPORARILY DISABLED TO VERIFY TEST CATCHES THE BUG
/*
#ifdef ESPHOME_THREAD_MULTI_NO_ATOMICS
// Multi-threaded platforms without atomics: must take lock to safely read remove flag
{
@@ -430,7 +428,6 @@ void HOT Scheduler::call(uint32_t now) {
continue;
}
#endif
*/
#ifdef ESPHOME_DEBUG_SCHEDULER
const char *item_name = item->get_name();