2nd candidate windows compilation fix

This commit is contained in:
Benjamin Schaaf 2019-05-05 17:52:44 +10:00
parent 7f11fcf7a6
commit 83e2d391e6

View file

@ -258,7 +258,10 @@ struct Process {
import core.sys.posix.signal : SIGTERM;
eventDriver.processes.kill(m_pid, SIGTERM);
}
else static assert(0);
else
{
eventDriver.processes.kill(m_pid, 1);
}
}
/// ditto
@ -279,7 +282,10 @@ struct Process {
import core.sys.posix.signal : SIGKILL;
eventDriver.processes.kill(m_pid, SIGKILL);
}
else static assert(0);
else
{
eventDriver.processes.kill(m_pid, 1);
}
}
/**