Cleanup zone children vectors.

This commit is contained in:
Bartosz Taudul 2020-04-14 02:11:02 +02:00
parent 55f582faaf
commit c54dc10464

View File

@ -2105,6 +2105,14 @@ Worker::~Worker()
{ {
v.second->~LockMap(); v.second->~LockMap();
} }
for( auto& v : m_data.zoneChildren )
{
v.~Vector();
}
for( auto& v : m_data.gpuChildren )
{
v.~Vector();
}
#ifndef TRACY_NO_STATISTICS #ifndef TRACY_NO_STATISTICS
for( auto& v : m_data.ghostChildren ) for( auto& v : m_data.ghostChildren )
{ {