Skip to content

Commit

Permalink
Code quality improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
VoidXH committed Jan 20, 2025
1 parent ed05709 commit 2a5f2ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CavernSamples/CavernPipeServer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,8 @@ void OnServerStatusChange() {
void StoreErrorMessage(Exception e) {
if (e.GetType() == typeof(IOException) && e.Source == "System.IO.Pipes") {
lastError = (string)language["NDisc"];
return;
} else if (e.StackTrace.Contains("QueueStream")) {
return; // Rendering threads are stopped by setting them to null (yeah...)
// Rendering threads are stopped by setting them to null (yeah...)
} else {
lastError = e.ToString();
}
Expand Down

0 comments on commit 2a5f2ad

Please sign in to comment.