Store source package in Component for debugging (#2070)

This commit is contained in:
Otto Winter
2021-08-24 06:49:19 +12:00
committed by GitHub
parent 1c1ad32610
commit 1b89174558
7 changed files with 91 additions and 14 deletions
+4 -1
View File
@@ -155,7 +155,10 @@ void ICACHE_RAM_ATTR HOT Scheduler::call() {
// Warning: During f(), a lot of stuff can happen, including:
// - timeouts/intervals get added, potentially invalidating vector pointers
// - timeouts/intervals get cancelled
item->f();
{
WarnIfComponentBlockingGuard guard{item->component};
item->f();
}
}
{