Merge pull request #200 from softcup/master
fixed appCache.update error.
This commit is contained in:
commit
d9a5b46e2a
@ -31,7 +31,11 @@
|
|||||||
scheduleUpdate = function (delay) {
|
scheduleUpdate = function (delay) {
|
||||||
clearTimeout(updateTimeout);
|
clearTimeout(updateTimeout);
|
||||||
updateTimeout = setTimeout(function () {
|
updateTimeout = setTimeout(function () {
|
||||||
appCache.update();
|
try {
|
||||||
|
appCache.update();
|
||||||
|
} catch (ex) {
|
||||||
|
console.log('appCache.update: ' + ex);
|
||||||
|
}
|
||||||
}, delay || 300000);
|
}, delay || 300000);
|
||||||
},
|
},
|
||||||
attach = function () {
|
attach = function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user