mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
When esp_event_loop_run() exited via the ticks-expired break path, loop->running_task was left pointing to the current task handle. Any subsequent trylock in esp_event_handler_unregister_with_internal() would see a stale non-NULL running_task and take the wrong code path.