We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ecc93f + 135b636 commit 9dfb7aaCopy full SHA for 9dfb7aa
src/ServiceControl.RavenDB/EmbeddedDatabase.cs
@@ -206,6 +206,9 @@ public async Task Stop(CancellationToken cancellationToken)
206
Logger.WarnFormat("Killing RavenDB server PID {0} child process because host cancelled", processId);
207
var ravenChildProcess = Process.GetProcessById(processId);
208
ravenChildProcess.Kill(entireProcessTree: true);
209
+ // Kill only signals
210
+ Logger.WarnFormat("Waiting for RavenDB server PID {0} to exit... ", processId);
211
+ await ravenChildProcess.WaitForExitAsync(CancellationToken.None);
212
}
213
catch (Exception e)
214
{
0 commit comments