mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-07 01:44:41 +08:00
[signal]: fix spinlock leak in rt_thread_handle_sig()
This commit is contained in:
@@ -499,6 +499,7 @@ void rt_thread_handle_sig(rt_bool_t clean_state)
|
||||
}
|
||||
else
|
||||
{
|
||||
rt_spin_unlock_irqrestore(&_thread_signal_lock, level);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user