Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: crash when closing while scene is loading #1147

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

letsfindaway
Copy link
Collaborator

This PR provides a fix for issue letsfindaway#191.

  • OpenBoard crashes when it is terminated while a scene is loading in background
  • the timer used for background loading still runs and accesses resources no longer available
  • add a flag isClosing to UBApplication
  • check flag in timer routine in UBSceneCache

- OpenBoard crashes when it is terminated while a scene is loading
  in background
- the timer used for background loading still runs and accesses
  resources no longer available
- add a flag isClosing to UBApplication
- check flag in timer routine in UBSceneCache
@letsfindaway letsfindaway force-pushed the fix-crash-background-loading branch from 6fb70ef to 0835bc2 Compare October 25, 2024 15:25
@kaamui kaamui merged commit 8740de5 into OpenBoard-org:dev Oct 28, 2024
@letsfindaway letsfindaway deleted the fix-crash-background-loading branch November 21, 2024 14:26
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.

2 participants