Furi: show thread allocation balance for child threads (#1992)

This commit is contained in:
あく
2022-11-10 02:33:09 +09:00
committed by GitHub
parent 9f0aef330e
commit c89e5e11a4
2 changed files with 11 additions and 7 deletions

View File

@@ -273,11 +273,7 @@ static void loader_thread_state_callback(FuriThreadState thread_state, void* con
furi_hal_power_insomnia_enter();
}
} else if(thread_state == FuriThreadStateStopped) {
FURI_LOG_I(
TAG,
"Application thread stopped. Free heap: %d. Thread allocation balance: %d.",
memmgr_get_free_heap(),
furi_thread_get_heap_size(instance->application_thread));
FURI_LOG_I(TAG, "Application stopped. Free heap: %d", memmgr_get_free_heap());
if(loader_instance->application_arguments) {
free(loader_instance->application_arguments);