Currently DALi ThreadLocalStorage object is not deleted
on shutdown.
Reported by Valgrind / Valkyrie
Change-Id: I376f2a05c149b3ac0d81e07fa1052fd44ee6d8a7
if( tls )
{
tls->Remove();
+ delete tls;
}
// Stop relayout requests being raised on stage destruction
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);
}