Cache manager clean itself

This commit is contained in:
Pierre 2017-06-14 11:51:43 +02:00
parent f750165c3e
commit 773a003bea

View File

@ -63,6 +63,9 @@ ComunicWeb.common.cacheManager = {
eval(this.__cachesCleaners[i][0]+"()");
}
//Clean list
this.__cachesCleaners = [];
//Success
return true;
},
@ -82,6 +85,9 @@ ComunicWeb.common.cacheManager = {
clearInterval(this.__intervalsList[i]);
}
//Remove intervals
this.__intervalsList = [];
//Success
return true
}