summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-29 17:17:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-29 17:17:30 +0300
commit7e0e97ee7ec31512731cbcef625a040266655062 (patch)
tree0a13c522c2c966056b3ebf5c9f948afac63a879c /src/resources/resourcemanager
parentcb578a13379c828cfa02032ceab03a7dcbdb1c97 (diff)
downloadplus-7e0e97ee7ec31512731cbcef625a040266655062.tar.gz
plus-7e0e97ee7ec31512731cbcef625a040266655062.tar.bz2
plus-7e0e97ee7ec31512731cbcef625a040266655062.tar.xz
plus-7e0e97ee7ec31512731cbcef625a040266655062.zip
Call RsourceManager::cleanOrphans not on each resource get, but each 15 seconds.
Diffstat (limited to 'src/resources/resourcemanager')
-rw-r--r--src/resources/resourcemanager/resourcemanager.cpp1
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
{