OVMS3-idf/components/esp_event
Xentec 9b16cb75f8 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
2020-03-22 22:34:07 +08:00
..
include Fix some typo in idf release v3.3 2020-02-20 20:05:10 +08:00
private_include esp_event: dispatch order follows registration order 2019-01-30 20:59:47 +08:00
test esp_event: extend register/unregister test case to cover overwriting existing handler works as expected 2019-10-07 19:15:59 +00:00
CMakeLists.txt event: Implement event loop library 2018-10-26 13:14:19 +08:00
component.mk event: Implement event loop library 2018-10-26 13:14:19 +08:00
default_event_loop.c esp_event: add missing header include 2019-07-26 16:36:13 +05:30
esp_event.c esp_event: fix crash when unregistering a handler instance in itself 2020-03-22 22:34:07 +08:00
esp_event_private.c esp_event: dispatch order follows registration order 2019-01-30 20:59:47 +08:00
Kconfig Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00