Renz Christian Bagaporo
84227aeac0
esp_event: remove extra line from source file
2020-03-22 22:34:38 +08:00
Renz Christian Bagaporo
2e3a949f3a
esp_event: test that handlers can unregister themselves
2020-03-22 22:34:30 +08:00
Renz Christian Bagaporo
0890ce9115
esp_event: iterate loop nodes safely as well
2020-03-22 22:34:21 +08:00
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
gengyuchao
94255c421d
Fix some typo in idf release v3.3
2020-02-20 20:05:10 +08:00
Angus Gratton
8466b8d6d3
Merge branch 'bugfix/event_minor_leak_v3.3' into 'release/v3.3'
...
esp_event: fix minor memory leak when overwriting already registered handler (v3.3)
See merge request espressif/esp-idf!5132
2019-10-10 11:05:41 +08:00
David Cermak
3f2bf11751
esp_event: fix possible malloc free issues found by static analyzer
...
(v3.3)
Backport of bd537083d9
2019-10-07 19:19:23 +00:00
David Cermak
b1f264be69
esp_event: fix minor memory leak when overwriting alredy registered handler
2019-10-07 19:15:59 +00:00
David Cermak
d14f2c5fca
esp_event: extend register/unregister test case to cover overwriting existing handler works as expected
2019-10-07 19:15:59 +00:00
Mahavir Jain
6da2bec1e8
esp_event: add missing header include
...
Required header was indirectly getting resolved through lwip includes,
apparently does not work if application is not using lwip networking stack.
2019-07-26 16:36:13 +05:30
Angus Gratton
4e770aec61
Merge branch 'feature/predictable_event_dispatch_via_duplication' into 'master'
...
Predictable event handler dispatch
See merge request idf/esp-idf!3932
2019-02-05 08:47:03 +08:00
Ivan Grokhotkov
131885d547
Merge branch 'bugfix/event_loop_library_memory_leak' into 'master'
...
Fix event loop library memory leak
See merge request idf/esp-idf!4201
2019-01-31 11:02:20 +08:00
Renz Christian Bagaporo
a3664ad654
esp_event: test that dispath order follows regisration order
2019-01-30 20:59:47 +08:00
Renz Christian Bagaporo
a10901f44b
esp_event: dispatch order follows registration order
2019-01-30 20:59:47 +08:00
Renz Christian Bagaporo
2160abd3e4
esp_event: detect leaks in unit test
2019-01-30 18:49:21 +08:00
Renz Christian Bagaporo
34310908cf
esp_event: fix post data type inconsistency
2019-01-30 18:11:13 +08:00
Renz Christian Bagaporo
280894af7f
esp_event: fix memory leaks
...
Closes https://github.com/espressif/esp-idf/issues/2886
2019-01-30 18:11:13 +08:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
Ivan Grokhotkov
6091021e83
unity: separate common and IDF specific functionality
...
New unity component can be used for testing other applications.
Upstream version of Unity is included as a submodule.
Utilities specific to ESP-IDF unit tests (partitions, leak checking
setup/teardown functions, etc) are kept only in unit-test-app.
Kconfig options are added to allow disabling certain Unity features.
2018-11-19 12:36:31 +08:00
Ivan Grokhotkov
d28c99d36c
esp_event: lower test performance threshold for PSRAM config
2018-11-01 13:50:08 +08:00
Renz Christian Bagaporo
5a83347bec
event: Implement event loop library
2018-10-26 13:14:19 +08:00