Skip to content

Commit

Permalink
Merge pull request #6447 from peppy/named-pipe-shutdown-oops
Browse files Browse the repository at this point in the history
Fix unobserved exceptions on named pipe shutdown
  • Loading branch information
bdach authored Dec 9, 2024
2 parents c3439a0 + b1ca41e commit f3af3c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion osu.Framework/Platform/NamedPipeIpcProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,16 @@ private async Task listen(NamedPipeServerStream pipe)

pipe.Disconnect();
}
catch (OperationCanceledException)
{
}
catch (Exception e)
{
Logger.Error(e, "Error handling incoming IPC request.");
}
}
}
catch (TaskCanceledException)
catch (OperationCanceledException)
{
}
finally
Expand Down

0 comments on commit f3af3c9

Please sign in to comment.