mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-22 05:22:53 +01:00
Wait for DD proccesses to exit after killing
This commit is contained in:
@@ -104,7 +104,10 @@ namespace Tgstation.Server.Tests.Live
|
||||
{
|
||||
foreach (var proc in GetDDProcessesOnPort(null))
|
||||
using (proc)
|
||||
{
|
||||
proc.Kill();
|
||||
proc.WaitForExit();
|
||||
}
|
||||
}
|
||||
|
||||
static ushort FreeTcpPort(params ushort[] usedPorts)
|
||||
|
||||
Reference in New Issue
Block a user