Skip to content

Commit

Permalink
Print a debug log and exit the compute thread on application exit
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaggy1024 committed Feb 6, 2025
1 parent 90b2ac5 commit ab6693a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RuntimeIcons/src/Components/CameraQueueComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ private void ComputeThread()
}
}
}
catch (Exception ex) when (ex is ThreadAbortException or ThreadInterruptedException)
{
RuntimeIcons.Log.LogDebug($"Compute thread is being aborted, exiting!");
return;
}
catch (Exception ex)
{
if (toCompute is not null)
Expand Down

0 comments on commit ab6693a

Please sign in to comment.