[signal]: fix spinlock leak in rt_thread_handle_sig()

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