We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45f3cf7 commit 903bc1fCopy full SHA for 903bc1f
src/idle.c
@@ -186,6 +186,8 @@ void rt_thread_idle_excute(void)
186
/* if it's a system object, not delete it */
187
if (rt_object_is_systemobject((rt_object_t)thread) == RT_TRUE)
188
{
189
+ /* detach this object */
190
+ rt_object_detach((rt_object_t)thread);
191
/* unlock scheduler */
192
rt_exit_critical();
193
0 commit comments