Open amgross opened 1 month ago
Workaround: add to tx_port.h (or tx_user.h)
extern UINT _txm_module_manager_object_deallocate(VOID *object_ptr);
#define TX_THREAD_DELETE_PORT_COMPLETION(t) _txm_module_manager_object_deallocate(t -> tx_thread_module_kernel_stack_start);
Describe the bug tx_thread_module_kernel_stack_start is allocated at _txm_module_manager_thread_create from the object pool, but is not released at thread delete function (it is deleted upon module stop when all objects of the module are deleted)
To Reproduce Run from module:
Expected behavior tx_thread_module_kernel_stack_start should be released upon thread delete.
Impact Can leak object pool out of memory, which cause no more option to create OS objects from module
Logs and console output
Additional context