cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcesarmobile <...@git.apache.org>
Subject [GitHub] cordova-docs pull request: CB-9393: Documenting how to embed a Sys...
Date Wed, 17 Feb 2016 14:34:52 GMT
Github user jcesarmobile commented on the pull request:

    https://github.com/apache/cordova-docs/pull/498#issuecomment-185230674
  
    I think this should be added too:
    
    `@Override
        public void onDestroy() {
            if (this.webInterface!=null) {
                this.webInterface.handleDestroy();
            }
            super.onDestroy();
        }`
    
    If I don't add it, when I use navigator.app.exitApp(); I get an ugly message like this:
    "MainActivity has leaked IntentReceiver org.apache.cordova.engine.SystemWebViewEngine$2@e41c27f
that was originally registered here. Are you missing a call to unregisterReceiver()?..."


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message