esp-idf/components/esp_event
Xentec 4c97906fc8 esp_event: fix crash when unregistering a handler instance in itself
When a handler instance is the last one in the list und unregisters
itself, the handler iterator will be invalidated by entering free'd
memory. Same applies for event base and id, if they become empty.

Merges https://github.com/espressif/esp-idf/pull/4139
2019-10-25 11:38:32 +08:00
..
include
private_include
test
CMakeLists.txt
Kconfig
component.mk
default_event_loop.c
esp_event.c esp_event: fix crash when unregistering a handler instance in itself 2019-10-25 11:38:32 +08:00
esp_event_private.c
event_loop_legacy.c
event_send.c
event_send_compat.inc
linker.lf
sdkconfig.rename