brtrbr / gtm-oauth2

Automatically exported from code.google.com/p/gtm-oauth2
0 stars 0 forks source link

A bug may cause NetworkActivityIndicator always visible #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. push GTMOAuth2ViewControllerTouch
2. pop GTMOAuth2ViewControllerTouch while web view is still loading

Quick fix:
Add this in -dealloc

    if (webView_.loading) {
        [self notifyWithName:kGTMOAuth2WebViewStoppedLoading
                     webView:webView_
                        kind:nil];
    }

Original issue reported on code.google.com by an0...@gmail.com on 29 Oct 2011 at 4:34

GoogleCodeExporter commented 9 years ago
Added a notification for premature closing of the webview

http://code.google.com/p/gtm-oauth2/source/detail?r=73

Original comment by grobb...@google.com on 8 Nov 2011 at 9:07