forked from Imagelibrary/rtems
libtest: Fix T_thread_switch_record()
If RTEMS_DEBUG is not defined, then we have to explicitly set the node off the chain. Update #3199.
This commit is contained in:
@@ -72,6 +72,7 @@ T_thread_switch_destroy(T_destructor *dtor)
|
||||
|
||||
ctx = RTEMS_CONTAINER_OF(dtor, T_thread_switch_context, dtor);
|
||||
_User_extensions_Remove_set(&ctx->ext);
|
||||
_Chain_Set_off_chain(&ctx->ext.Node);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user