Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

as stock, upon exception show message box and kill discord.#160

Open
Skamt wants to merge 1 commit into
GooseMod:main from
Skamt:exception-handler
Open

as stock, upon exception show message box and kill discord. #160
Skamt wants to merge 1 commit into
GooseMod:main from
Skamt:exception-handler

Conversation

@Skamt

@Skamt Skamt commented Dec 14, 2023

Copy link
Copy Markdown

turns out when the renderer process crashes nothing happens and it stays running in the background, as OA is missing exception handling around the renderer like in stock discord.

Copy link
Copy Markdown
Contributor

This shouldn't use try catch, instead use process on uncaught exception/etc

Skamt commented Jan 28, 2024

Copy link
Copy Markdown
Author

without the renderer's dedicated try catch, if something breaks early the update's try catch catches it and discord gets stuck in the splash checking for updates.
it would require a lot more changes to remedy this, and i try to keep my PR as small as possible, if you think this change is no good, you can close the PR no problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /