Fixed an exception in coordinator preventing some shards from restarting

This commit is contained in:
Kwoth
2021-12-05 08:47:33 +01:00
parent 2d2e54e31e
commit 0187dd57ac

View File

@@ -171,7 +171,7 @@ namespace NadekoBot.Coordinator
}
}
status.Process?.Dispose();
try { status.Process?.Dispose(); } catch { }
var proc = StartShardProcess(shardId);
_shardStatuses[shardId] = status with