mirror of
https://github.com/esphome/esphome.git
synced 2025-10-31 23:21:54 +00:00
cleanup
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user