Solving issue 2221: "Specifying the Settings and Cache path through environment variables"

This commit is contained in:
Hombre
2014-02-05 18:29:23 +01:00
parent aa986a4c76
commit f2c4846dce
4 changed files with 52 additions and 22 deletions

View File

@@ -46,6 +46,9 @@ bool ProfileStore::init () {
ProfileStore::~ProfileStore () {
if (storeState == STORESTATE_NOTINITIALIZED)
return;
// This lock prevent object's suppression while scanning the directories
storeState = STORESTATE_DELETED;
MyMutex::MyLock lock(*parseMutex);