mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +00:00
Cache manager clean itself
This commit is contained in:
parent
f750165c3e
commit
773a003bea
@ -63,6 +63,9 @@ ComunicWeb.common.cacheManager = {
|
|||||||
eval(this.__cachesCleaners[i][0]+"()");
|
eval(this.__cachesCleaners[i][0]+"()");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Clean list
|
||||||
|
this.__cachesCleaners = [];
|
||||||
|
|
||||||
//Success
|
//Success
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
@ -82,6 +85,9 @@ ComunicWeb.common.cacheManager = {
|
|||||||
clearInterval(this.__intervalsList[i]);
|
clearInterval(this.__intervalsList[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Remove intervals
|
||||||
|
this.__intervalsList = [];
|
||||||
|
|
||||||
//Success
|
//Success
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user