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: Only close the native SDKs if native support has been enabled #1897

Merged
merged 5 commits into from
Nov 13, 2024

Conversation

bitsandfoxes
Copy link
Contributor

@bitsandfoxes bitsandfoxes commented Nov 11, 2024

Relates to: #1727

When having the game run as a library, closing the game closes the SDK. This causes the surrounding app's native SDK to close as well.
Because the SDK can't determine the setup it is used in, it should only close the native SDKs if it is sure it was the one enabling it.

Copy link
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some nitpicks and suggestions but lgtm

src/Sentry.Unity.iOS/SentryNativeCocoa.cs Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@bitsandfoxes bitsandfoxes merged commit 3a4e978 into main Nov 13, 2024
93 of 94 checks passed
@bitsandfoxes bitsandfoxes deleted the fix/close branch November 13, 2024 11:15
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