mirror of https://github.com/RT-Thread/rt-thread
[signal]: fix spinlock leak in rt_thread_handle_sig()
This commit is contained in:
parent
dc225f3f83
commit
136ef85ba3
|
@ -499,6 +499,7 @@ void rt_thread_handle_sig(rt_bool_t clean_state)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
rt_spin_unlock_irqrestore(&_thread_signal_lock, level);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue