diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-29 17:17:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-29 17:17:30 +0300 |
commit | 7e0e97ee7ec31512731cbcef625a040266655062 (patch) | |
tree | 0a13c522c2c966056b3ebf5c9f948afac63a879c /src/resources/resourcemanager/resourcemanager.cpp | |
parent | cb578a13379c828cfa02032ceab03a7dcbdb1c97 (diff) | |
download | manaverse-7e0e97ee7ec31512731cbcef625a040266655062.tar.gz manaverse-7e0e97ee7ec31512731cbcef625a040266655062.tar.bz2 manaverse-7e0e97ee7ec31512731cbcef625a040266655062.tar.xz manaverse-7e0e97ee7ec31512731cbcef625a040266655062.zip |
Call RsourceManager::cleanOrphans not on each resource get, but each 15 seconds.
Diffstat (limited to 'src/resources/resourcemanager/resourcemanager.cpp')
-rw-r--r-- | src/resources/resourcemanager/resourcemanager.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp index 89e9a8bc6..5ecc58732 100644 --- a/src/resources/resourcemanager/resourcemanager.cpp +++ b/src/resources/resourcemanager/resourcemanager.cpp @@ -481,7 +481,6 @@ Resource *ResourceManager::get(const std::string &idPath, resource->mIdPath.c_str()); #endif mResources[idPath] = resource; - cleanOrphans(); } else { |