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

Avoid assert/crash when app is moved before update alert shows #2658

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

zorgiepoo
Copy link
Member

@zorgiepoo zorgiepoo commented Nov 11, 2024

Note this puts Sparkle and possibly the rest of the app running in an unsupported state even a crash doesn't occur when showing an update alert.

Fixes #2653

Misc Checklist

  • My change requires a documentation update on Sparkle's website repository
  • My change requires changes to generate_appcast, generate_keys, or sign_update

Testing

I tested and verified my change by using one or multiple of these methods:

  • Sparkle Test App
  • Unit Tests
  • My own app
  • Other (please specify)

Tested moving app while it's running before update alert with release notes link shows. Confirmed app doesn't crash.
Tested updating an app regularly works.

macOS version tested: 15.1 (24B83)

Note this puts Sparkle and possibly the rest of the app running in an unsupported state even a crash doesn't occur when showing an update alert.
@zorgiepoo zorgiepoo added this to the 2.7 milestone Nov 11, 2024
@zorgiepoo zorgiepoo merged commit 8fcdac1 into 2.x Nov 11, 2024
2 checks passed
@zorgiepoo zorgiepoo deleted the avoid-app-move-update-alert-assert branch November 11, 2024 03:43
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.

Crash @ -[SUUpdateAlert _createReleaseNotesViewPreferringPlainText:]
1 participant