mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Don't reconstruct mem plot if there's no mem event data.
This commit is contained in:
parent
e7ffe288e6
commit
3768ed5dd7
@ -541,7 +541,10 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
|
|||||||
f.Read( m_data.memory.low );
|
f.Read( m_data.memory.low );
|
||||||
f.Read( m_data.memory.usage );
|
f.Read( m_data.memory.usage );
|
||||||
|
|
||||||
m_threadMemory = std::thread( [this] { ReconstructMemAllocPlot(); } );
|
if( sz != 0 )
|
||||||
|
{
|
||||||
|
m_threadMemory = std::thread( [this] { ReconstructMemAllocPlot(); } );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user