mirror of https://github.com/winsw/winsw
fixed a compiler error
parent
0ee22abe8c
commit
c76cbff0d0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue