X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fcommon%2Fcore-impl.cpp;h=8f07f3594a607ffbf12b27e322a545130b7525b7;hb=40ddb0164aa0c1849826125530fdaca115389a7e;hp=fafe5b398ac96a79c14840b2779ed5c13e84dece;hpb=9c0479e4604ff5be5cc7d274e56d65964b05be9d;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/common/core-impl.cpp b/dali/internal/common/core-impl.cpp index fafe5b3..8f07f35 100644 --- a/dali/internal/common/core-impl.cpp +++ b/dali/internal/common/core-impl.cpp @@ -192,6 +192,7 @@ Core::~Core() if( tls ) { tls->Remove(); + delete tls; } // Stop relayout requests being raised on stage destruction @@ -464,7 +465,7 @@ RelayoutController& Core::GetRelayoutController() void Core::CreateThreadLocalStorage() { // a pointer to the ThreadLocalStorage object will be stored in TLS - // and automatically deleted when the thread is killed + // The ThreadLocalStorage object should be deleted by the Core destructor new ThreadLocalStorage(this); }