Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 236 vs 248 for /trunk/Source Code/Core/Resources/ResourceCache.cpp

Diff revisions: vs.
  @@ -37,6 +37,9 @@
37 37 }
38 38
39 39 void ResourceCache::Destroy(){
40 + if(_resDB.empty())
41 + return;
42 +
40 43 for_each(ResourceMap::value_type& it, _resDB){
41 44 if(remove(it.second, true)){
42 45 SAFE_DELETE(it.second);