diff options
Diffstat (limited to 'src/com/android/browser/Controller.java')
-rw-r--r-- | src/com/android/browser/Controller.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java index 6393ac8..6b72c25 100644 --- a/src/com/android/browser/Controller.java +++ b/src/com/android/browser/Controller.java @@ -1970,6 +1970,10 @@ public class Controller // currently accessible here. WebView view = tab.getWebView(); + if (view == null) { + // Tab was destroyed + return; + } final String url = tab.getUrl(); final String originalUrl = view.getOriginalUrl(); |