https://docs.espressif.com/projects/esp ... ing-itself
Why is that, or, why could it be a problem? I have skimmed the handler registration code and do not see any obvious reasons. So far, it works.In general, an event handler run by an event loop is not allowed to do any registering/unregistering activity on that event loop.