hydra-queue-runner: Handle SIGINT

This commit is contained in:
Eelco Dolstra 2017-03-03 12:41:00 +01:00
parent 500c27e4d5
commit edebdf33f0
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -824,6 +824,9 @@ void State::unlock()
void State::run(BuildID buildOne)
{
/* Can't be bothered to shut down cleanly. Goodbye! */
auto callback = createInterruptCallback([&]() { std::_Exit(0); });
startedAt = time(0);
this->buildOne = buildOne;