[signal]: fix spinlock leak in rt_thread_handle_sig()

This commit is contained in:
Yulong Wang
2025-07-08 14:14:54 +08:00
committed by Rbb666
parent dc225f3f83
commit 136ef85ba3
+1
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;
}
}