mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Cache manager clean itself
This commit is contained in:
		@@ -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
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user