diff --git a/osu.Game.Rulesets.Sentakki/IO/GameplayEventBroadcaster.cs b/osu.Game.Rulesets.Sentakki/IO/GameplayEventBroadcaster.cs index 50a76d89a..2a91b16ba 100644 --- a/osu.Game.Rulesets.Sentakki/IO/GameplayEventBroadcaster.cs +++ b/osu.Game.Rulesets.Sentakki/IO/GameplayEventBroadcaster.cs @@ -34,7 +34,14 @@ private async void attemptConnection() isWaitingForClient = true; try { await pipeServer.WaitForConnectionAsync(cancellationToken).ConfigureAwait(false); } - catch (TaskCanceledException) { return; } + catch (Exception e) + { + // The operation was canceled. Gracefully shutdown; + if (e is TaskCanceledException || e is OperationCanceledException) + return; + + throw; + } isWaitingForClient = false;