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

OS_dispatch_semaphore Memory Leak. #112

Closed
MussaCharles opened this issue Feb 21, 2018 · 4 comments
Closed

OS_dispatch_semaphore Memory Leak. #112

MussaCharles opened this issue Feb 21, 2018 · 4 comments

Comments

@MussaCharles
Copy link

I am using firebase and I think gtm-session-fetcher was installed during firebase products installation. I am debugging my app for memory leaks and found out that "OS_dispatch_semaphore" which happened to be in gmt-session-fetcher file is causing the leak. Is there any solution or suggestion on how to solve this issue?

@thomasvl
Copy link
Member

It should get released when the GTMSessionFetcherService that owns it gets released. Is there a Service not getting released also?

@MussaCharles
Copy link
Author

Hi, sorry for the late reply. The only memory issue was marked on "OS_dispatch_semaphore", I am using Xcode graph to debug so I couldn't see any other service not being released.

@thomasvl
Copy link
Member

If you can make a small repro case, someone else might be able to help figure it out. Looking at the GTMSessionFetcherService code, ARC should be properly managing retains on it.

@MussaCharles
Copy link
Author

I forgot to close this, the issue was resolved after updating some of the pods.

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

No branches or pull requests

2 participants