Commit 9bd69b20 authored by Hugo Pereira Da Costa's avatar Hugo Pereira Da Costa
Browse files

Revert "delete animation data directly rather than using deleteLater, which...

Revert "delete animation data directly rather than using deleteLater, which results in all objects being deleted at exit, thus effectively appearing as a memory leak"

This reverts commit b7836534.
CCBUG: 309464
parent b7836534
......@@ -100,7 +100,7 @@ namespace Oxygen
if( iter == QMap<Key, Value>::end() ) return false;
// delete value from map if found
if( iter.value() ) delete iter.value().data();
if( iter.value() ) iter.value().data()->deleteLater();
QMap<Key, Value>::erase( iter );
return true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment