Merge pull request #4225 from ZappoMan/memleak

actually delete resources... even on windows
This commit is contained in:
Philip Rosedale 2015-02-04 11:57:54 -08:00
commit fe3f01be7e

View file

@ -248,11 +248,7 @@ void Resource::allReferencesCleared() {
_cache->addUnusedResource(self);
} else {
#ifndef WIN32
// Note to Andrzej this causes a consistent crash on windows/vs2013
// patching here as a very temporary workaround. --craig
delete this;
#endif // !WIN32
}
}