-
Notifications
You must be signed in to change notification settings - Fork 123
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
Random crashes when calling the singleton #51
Comments
More info: it occurs when the openWithXXXX function has not been called for a while. In my case users can log in with FB or not and I always call closeSessionAndClearTokenInformation on logout. I now just call closeSessionAndClearTokenInformation when the user logged in with FB to avoid the crash. |
I'm having a simular problem, but only on iOS. When I call FacebookANE.isSessionOpen on an iPhone, my whole app crashes without a warning. On Android everything is working fine. I fixed it by calling FacebookANE.init first. That way, it doesn't crash on iOS. |
Thanks, i'll try that out :) |
We too are seeing random crashes like this (well, nearly 100% so not so random)... Adding init calls doesn't seem to help. |
Hi Guys,
I'm getting crashes when calling this bit of code:
if (Facebook.getInstance().isSessionOpen) {
trace("Session open"); // <- this does not even show up in the log
Facebook.getInstance().closeSessionAndClearTokenInformation();
}
I wrapped it with the session test but closeSessionAndClearTokenInformation on itself crashes as well.
Any ideas? It seems like a lack of memory but I don't quite get why the Facebook ANE would need so much.
Regards,
Cameron
The text was updated successfully, but these errors were encountered: