You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by na...@apache.org on 2014/05/06 22:59:19 UTC

[09/11] git commit: [CB-6636][amazon-fireos]Need to destroy webview properly Added destroy() call in webview's handleDestroy() method.

[CB-6636][amazon-fireos]Need to destroy webview properly
Added destroy() call in webview's handleDestroy() method.


Project: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/commit/5f2692f7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/tree/5f2692f7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/diff/5f2692f7

Branch: refs/heads/master
Commit: 5f2692f7c01c2bdbaabc85e5f3769bd3c61519aa
Parents: f48457e
Author: Archana Naik <na...@lab126.com>
Authored: Mon May 5 16:31:32 2014 -0700
Committer: Archana Naik <na...@lab126.com>
Committed: Tue May 6 13:58:47 2014 -0700

----------------------------------------------------------------------
 framework/src/org/apache/cordova/CordovaWebView.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/blob/5f2692f7/framework/src/org/apache/cordova/CordovaWebView.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java
index aa80def..092e711 100755
--- a/framework/src/org/apache/cordova/CordovaWebView.java
+++ b/framework/src/org/apache/cordova/CordovaWebView.java
@@ -961,6 +961,8 @@ public class CordovaWebView extends AmazonWebView {
                 Log.e(TAG, "Error unregistering configuration receiver: " + e.getMessage(), e);
             }
         }
+        
+        this.destroy();
     }
     
     public void onNewIntent(Intent intent)