From 8ac274cdca8bc29ed1904b2b7c71db3403a551db Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Fri, 13 Apr 2012 13:00:39 -0700 Subject: [PATCH] Removing runnable code for timeout because it's not thread-safe --- framework/src/org/apache/cordova/DroidGap.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/src/org/apache/cordova/DroidGap.java b/framework/src/org/apache/cordova/DroidGap.java index 2bb1cdd6..04cd01dd 100755 --- a/framework/src/org/apache/cordova/DroidGap.java +++ b/framework/src/org/apache/cordova/DroidGap.java @@ -407,9 +407,11 @@ public class DroidGap extends Activity implements CordovaInterface { // If timeout, then stop loading and handle error if (me.loadUrlTimeout == currentLoadUrlTimeout) { + /* me.appView.stopLoading(); LOG.e(TAG, "DroidGap: TIMEOUT ERROR! - calling webViewClient"); me.webViewClient.onReceivedError(me.appView, -6, "The connection to the server was unsuccessful.", url); + */ } } };