private void RestartGame() { _logger.LogError($"Restarting game:\n{Environment.StackTrace}"); _window.RestartGame(); var restart = new RestartGame(this, _repository, _settings); restart.Run(CancellationToken.None).Wait(); }