Skip to content

fix(studio): make Sentry initialization optional - #42

Merged
SamratB8 merged 1 commit into
devfrom
fix/studio-startup-crash
Jul 15, 2026
Merged

fix(studio): make Sentry initialization optional#42
SamratB8 merged 1 commit into
devfrom
fix/studio-startup-crash

Conversation

@SamratB8

Copy link
Copy Markdown
Collaborator

Summary

Fixes a WinDroid Studio startup crash when the SENTRY_DSN environment variable is not configured.

Changes

  • initialize WinUI before optional Sentry setup
  • only initialize Sentry when a non-empty DSN is present
  • make the Sentry handle nullable
  • only flush and dispose Sentry when it was initialized
  • preserve normal application startup and shutdown behavior

Validation

  • app launches successfully without SENTRY_DSN
  • main window renders correctly
  • APK picker opens successfully
  • cancelling the picker updates the status text
  • Debug build succeeds
  • Release build succeeds
  • git diff --check is clean

No ADB, UI layout, APK-processing, or unrelated changes are included.

@SamratB8
SamratB8 merged commit 9007502 into dev Jul 15, 2026
2 checks passed
@SamratB8
SamratB8 deleted the fix/studio-startup-crash branch July 15, 2026 16:36
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