esp_event_loop_deinit for deallocating queue and task?
Posted: Thu Jan 18, 2018 9:07 am
Hi,
I am working on wifi. In present library the esp_event_loop_init() is only preset but esp_event_loop_deinit() is not there to delete the task and queue that is created in esp_event_loop_init() . Can anyone tell me how to implement the deinit() function. Because of that i am facing memory leak in tast execution(i.e critical leak around 16kb). Please reply me as soon as possible.
Log :
MALLOC_CAP_8BIT critical leak: Before 242052 bytes free, After 229160 bytes free (delta 12892)
/home/nayna/Nayana/esp32/bxc_test/components/tools/components/unity/./unity_platform.c:82:TransportCreate_0_SunnyDayTLS:FAIL: The test leaked too much memory
Test ran in 7496ms
-----------------------
1 Tests 1 Failures 0 Ignored
FAIL
Thanks and Regards
Nayana
I am working on wifi. In present library the esp_event_loop_init() is only preset but esp_event_loop_deinit() is not there to delete the task and queue that is created in esp_event_loop_init() . Can anyone tell me how to implement the deinit() function. Because of that i am facing memory leak in tast execution(i.e critical leak around 16kb). Please reply me as soon as possible.
Log :
MALLOC_CAP_8BIT critical leak: Before 242052 bytes free, After 229160 bytes free (delta 12892)
/home/nayna/Nayana/esp32/bxc_test/components/tools/components/unity/./unity_platform.c:82:TransportCreate_0_SunnyDayTLS:FAIL: The test leaked too much memory
Test ran in 7496ms
-----------------------
1 Tests 1 Failures 0 Ignored
FAIL
Thanks and Regards
Nayana