mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 19:36:45 +02:00
Merge pull request #4225 from ZappoMan/memleak
actually delete resources... even on windows
This commit is contained in:
commit
fe3f01be7e
1 changed files with 0 additions and 4 deletions
|
@ -248,11 +248,7 @@ void Resource::allReferencesCleared() {
|
||||||
_cache->addUnusedResource(self);
|
_cache->addUnusedResource(self);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
#ifndef WIN32
|
|
||||||
// Note to Andrzej this causes a consistent crash on windows/vs2013
|
|
||||||
// patching here as a very temporary workaround. --craig
|
|
||||||
delete this;
|
delete this;
|
||||||
#endif // !WIN32
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue