mirror of
https://github.com/espressif/esp-idf.git
synced 2026-01-04 01:13:41 +00:00
when esp_event_handler_unregister_with_internal cannot take the loop mutex (e.g., when the handler unregisters itself), create an event with a special base identifier and add it to the queue of the corresponding loop to postpone the removal of the handler from the list at a time when the loop mutex can be successfully taken.