Skip to content

Commit 136ef85

Browse files
eatvectorRbb666
authored andcommitted
[signal]: fix spinlock leak in rt_thread_handle_sig()
1 parent dc225f3 commit 136ef85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/signal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ void rt_thread_handle_sig(rt_bool_t clean_state)
499499
}
500500
else
501501
{
502+
rt_spin_unlock_irqrestore(&_thread_signal_lock, level);
502503
return;
503504
}
504505
}

0 commit comments

Comments
 (0)