Skip to content

Better abnormal exit condition support #4651

@Geenz

Description

@Geenz

The viewer has a few different ways it can shut down:

  • Normal shut down (user clicked "quit")
  • Shutdown freezes (user clicked "quit" but we froze somewhere along the way)
  • User forced to quit (macOS: force quit, Windows "End Task" in task manager)
  • OS decided to terminate the app (can happen under any number of circumstances, for example, a graphics driver reset)
  • Crashes (something went wrong in the viewer, and an exception was raised)

It would be great to detect the more abnormal shutdown cases. I suspect that the OS terminating the app outside of a crash isn't likely to look any different from a user forcing the viewer to quit, but it's something we should track anyways.

Test Plan

TBD



This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️‍♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #4651 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @Geenz (replace 20 with the amount, and @Geenz with the user to tip).

📖 If you want to learn more, check out our documentation.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesttriageFlags issues that need to be triaged

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions