GitHub user uareurapid opened a pull request:

    https://github.com/apache/cordova-android/pull/304

    fix crash when calling methods on a destroyed webview

    Hi guys. This has happened in some of my apps, not often, but a few times. 
I also have see some reports on the web.
    Take a look at this stack overflow thread for instance:
    
http://stackoverflow.com/questions/36239052/nullpointerexception-in-cordova-app-reported-by-fabric-sdk
    I think that better than just doing a try/catch is just check if the 
webView is valid/null or not

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/uareurapid/cordova-android master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-android/pull/304.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #304
    
----
commit bcf3f8611afbf9e33dc2a61db949c4759cc72291
Author: PC Dreams (Paulo Cristo) <cristo.pa...@gmail.com>
Date:   2016-05-04T07:42:14Z

    fix crash when calling methods on a destroyed webview

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to