diff --git a/kernel/kernel/Process.cpp b/kernel/kernel/Process.cpp index 56bd3b9562..3805df72f8 100644 --- a/kernel/kernel/Process.cpp +++ b/kernel/kernel/Process.cpp @@ -1762,7 +1762,8 @@ namespace Kernel if (pid == m_pid) { - add_pending_signal(signal); + if (signal) + add_pending_signal(signal); return 0; }