mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-04-23 22:15:48 +02:00
parent
3b313bf0a8
commit
4e89d7b12f
@ -85,7 +85,7 @@ static class InstanceStopProcedure {
|
||||
private static async Task WaitForSessionToEnd(InstanceContext context, InstanceProcess process) {
|
||||
try {
|
||||
await process.WaitForExit(TimeSpan.FromSeconds(55));
|
||||
} catch (OperationCanceledException) {
|
||||
} catch (TimeoutException) {
|
||||
try {
|
||||
context.Logger.Warning("Waiting timed out, killing session...");
|
||||
process.Kill();
|
||||
|
Loading…
Reference in New Issue
Block a user