cwschmidt/gtm-oauth2

A bug may cause NetworkActivityIndicator always visible

GoogleCodeExporter opened this issue · 1 comments

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

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

  • Changed state: Fixed