mirror of
https://github.com/winsw/winsw.git
synced 2025-12-10 18:37:28 +08:00
fixed a compiler error
This commit is contained in:
@@ -49,7 +49,7 @@ namespace winsw
|
||||
SetConsoleCtrlHandler(null, true);
|
||||
GenerateConsoleCtrlEvent(CtrlTypes.CTRL_C_EVENT, 0);
|
||||
|
||||
process.WaitForExit(shutdownTimeout.TotalMilliseconds);
|
||||
process.WaitForExit((int)shutdownTimeout.TotalMilliseconds);
|
||||
|
||||
return process.HasExited;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user