From 83e2d391e67b81ac0cd5e1be3dcc829f82445d2c Mon Sep 17 00:00:00 2001 From: Benjamin Schaaf Date: Sun, 5 May 2019 17:52:44 +1000 Subject: [PATCH] 2nd candidate windows compilation fix --- source/vibe/core/process.d | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/vibe/core/process.d b/source/vibe/core/process.d index c3788b6..4918dc4 100644 --- a/source/vibe/core/process.d +++ b/source/vibe/core/process.d @@ -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); + } } /**