Skip to content

[GTASA] Wrapped update-function in try-catch to fix crashing on Linux#5

Open
Goldiedtv wants to merge 1 commit intotduva:masterfrom
Goldiedtv:master
Open

[GTASA] Wrapped update-function in try-catch to fix crashing on Linux#5
Goldiedtv wants to merge 1 commit intotduva:masterfrom
Goldiedtv:master

Conversation

@Goldiedtv
Copy link

Autosplitter works othewise fine, but if SA crashes or you need to reset, Livesplit crashed and froze ~8 times out of 10 either when SA's exe closed or started. Because apparently under Linux, if the Autosplitter throws an exception, it crashes the whole LiveSplit (source: Autosplitters on Linux blogpost).

Wrapping the update-function in try-catch and just returning false on catch seems to fix the issue completely and this shouldn't affect the normal operation of the Autosplitter.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant