Fix timeout bug
This commit is contained in:
1 parent
17be91f640
commit
7a91a6d606
1 file changed
+1
-1
@@ -1774,7 +1774,7 @@ define([
|
||||
if (now - lastPing > (2 * 60 * 1000)) {
|
||||
var to = setTimeout(function () {
|
||||
onTimeout(true);
|
||||
});
|
||||
}, 5000);
|
||||
postMessage('PING', null, function () {
|
||||
clearTimeout(to);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user