diff --git a/sched/signal/sig_deliver.c b/sched/signal/sig_deliver.c index da6cac89d4..d6970ef8b1 100644 --- a/sched/signal/sig_deliver.c +++ b/sched/signal/sig_deliver.c @@ -117,6 +117,7 @@ void nxsig_deliver(FAR struct tcb_s *stcb) savesigprocmask = stcb->sigprocmask; sigorset(&newsigprocmask, &savesigprocmask, &sigq->mask); + nxsig_addset(&newsigprocmask, sigq->info.si_signo); stcb->sigprocmask = newsigprocmask; #ifndef CONFIG_BUILD_FLAT