summaryrefslogtreecommitdiff
path: root/include/rfb.js
diff options
context:
space:
mode:
Diffstat (limited to 'include/rfb.js')
-rw-r--r--include/rfb.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rfb.js b/include/rfb.js
index f426c15..fa2401d 100644
--- a/include/rfb.js
+++ b/include/rfb.js
@@ -255,7 +255,7 @@ var RFB;
sendPassword: function (passwd) {
this._rfb_password = passwd;
this._rfb_state = 'Authentication';
- setTimeout(this._init_msg.bind(this), 1);
+ setTimeout(this._init_msg.bind(this), 0);
},
sendCtrlAltDel: function () {
@@ -549,7 +549,7 @@ var RFB;
this._msgTimer = setTimeout(function () {
this._msgTimer = null;
this._handle_message();
- }.bind(this), 10);
+ }.bind(this), 0);
} else {
Util.Debug("More data to process, existing timer");
}