[signal]: fix spinlock leak in rt_thread_handle_sig()

This commit is contained in:
Yulong Wang 2025-07-05 03:21:42 +00:00 committed by Rbb666
parent dc225f3f83
commit 136ef85ba3
1 changed files with 1 additions and 0 deletions

View File

@ -499,6 +499,7 @@ void rt_thread_handle_sig(rt_bool_t clean_state)
}
else
{
rt_spin_unlock_irqrestore(&_thread_signal_lock, level);
return;
}
}