Skip to content

Conversation

@Cheesebaron
Copy link
Collaborator

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Bug fix

⤵️ What is the current behavior?

Still getting ObjectDisposedExceptions, which got better in #118, however still reproducible in some cases.

🆕 What is the new behavior (if this is a feature change)?

Fixed access to properties in Remove methods which would trigger implicit initialization of various views and attempt to access disposed references.

Also nulling out HudWindow in the remove hud method to avoid accessing a disposed instance of it.

💥 Does this PR introduce a breaking change?

Nope

🐛 Recommendations for testing

📝 Links to relevant issues/docs

Fixes #117

🤔 Checklist before submitting

  • All projects build
  • Follows style guide lines
  • Relevant documentation was updated

@Cheesebaron Cheesebaron merged commit 7a32bb6 into main Sep 13, 2025
1 check passed
@Cheesebaron Cheesebaron deleted the bugfix/gh-117-remove-hud-property-access branch September 13, 2025 15:23
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.

[iOS] RemoveHud Cannot Access A Disposed Object

2 participants