Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

BAD_ACCESS Exception after reconnect when application did become active #71

Open
pfrisch opened this issue Jan 23, 2013 · 1 comment
Open

Comments

@pfrisch
Copy link

pfrisch commented Jan 23, 2013

I made a small change in the example application that disconnect in the "applicationWillResignActive" method and connect in the "applicationDidBecomeActive" method.

Thats for the reconnection.

But after i'm switching between "background" and "foreground" modus a few times, i want to let the app in "foreground" and lock the iPhone directly.

Then i unlock the iPhone and the app starts directly in "foreground" and throws an "BAD_ACCESS" Exception.

Could anyone help me?

@funkyboy
Copy link

I think you have to wait at least a time out before reconnecting. I have a similar problem. If I go offline and then quickly on the server does not receive the "reconnect" event.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants