Skip to content

fix: iOS native bridge creation with parameters #1964

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

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

ysle0
Copy link
Contributor

@ysle0 ysle0 commented Jan 13, 2025

Fixes an issue reported in #1951 (comment)

The original code that starts the iOS native bridge caused
compile error by XCode due to the retaining excessive ownership which can lead to a memory leak.

error name during the compilation:
"PerformSelector names a selector which retains the object".

this fix with PR was already been created by @bitsandfoxes
but thanks to him I could create my own PR for the first time.

I really appreciate the community.

/io.sentry.unity/SentryNativeBridge.m:37:9: error: performSelector names a selector which retains the object
@ysle0 ysle0 requested a review from bitsandfoxes as a code owner January 13, 2025 14:28
@ysle0 ysle0 changed the title fix: iOS native build error fix: iOS native bridge creation Jan 13, 2025
@ysle0 ysle0 changed the title fix: iOS native bridge creation fix: iOS native bridge creation with parameters Jan 13, 2025
@bitsandfoxes
Copy link
Contributor

Thanks for contributing! ❤️

@bitsandfoxes bitsandfoxes merged commit e5cf717 into getsentry:main Jan 13, 2025
3 of 4 checks passed
@ysle0 ysle0 deleted the fix/ios-native-bridge-compile-err branch January 14, 2025 04:39
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.

3 participants