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

Issue when closing the socket #56

Open
osgafarov opened this issue Mar 27, 2015 · 0 comments
Open

Issue when closing the socket #56

osgafarov opened this issue Mar 27, 2015 · 0 comments

Comments

@osgafarov
Copy link

Hi,

I am testing the library on iPhone 5C (iOS 7).
I have 2 screens in the app. On the second screen I open the connection, and when navigating back I close the connection.
The problem is if I do it very fast (navigating back and forward between the screens), then I receive crash in the following line (the method close):

[self.javascriptWebView loadRequest: [NSURLRequest requestWithURL: [NSURL URLWithString: @"about:blank"]]]; //crashes here

[self.javascriptWebView reload];

self.javascriptWebView = nil;

I am not able to reproduce it on newer devices (iPhone 6 and 6+)

Thanks,
Osman

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

1 participant