Fix timeout bug

pull/1/head
yflory 5 years ago
parent 17be91f640
commit 7a91a6d606

@ -1774,7 +1774,7 @@ define([
if (now - lastPing > (2 * 60 * 1000)) {
var to = setTimeout(function () {
onTimeout(true);
});
}, 5000);
postMessage('PING', null, function () {
clearTimeout(to);
});

Loading…
Cancel
Save