Fix timeout bug
This commit is contained in:
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…
x
Reference in New Issue
Block a user