Catch programming errors

refs #5230
This commit is contained in:
Alexander A. Klimov 2019-07-15 15:09:35 +02:00
parent 37a3e7e4d5
commit 368ebf4fbf
1 changed files with 6 additions and 0 deletions

View File

@ -293,6 +293,9 @@ static void UmbrellaSignalHandler(int num, siginfo_t *info, void*)
break;
case SIGHUP:
l_RequestedReload.store(true);
break;
default:
VERIFY(!"Caught unexpected signal");
}
}
@ -309,6 +312,9 @@ static void WorkerSignalHandler(int num, siginfo_t *info, void*)
if (info->si_pid == l_UmbrellaPid) {
Application::RequestShutdown();
}
break;
default:
VERIFY(!"Caught unexpected signal");
}
}