mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 14:03:52 +00:00
Don't use cached thread id to retrieve main thread id.
This commit is contained in:
parent
a56c47a6a0
commit
c4f0965851
@ -928,7 +928,7 @@ enum { BulkSize = TargetFrameSize / QueueItemSize };
|
||||
|
||||
Profiler::Profiler()
|
||||
: m_timeBegin( 0 )
|
||||
, m_mainThread( GetThreadHandle() )
|
||||
, m_mainThread( GetThreadHandleImpl() )
|
||||
, m_epoch( std::chrono::duration_cast<std::chrono::seconds>( std::chrono::system_clock::now().time_since_epoch() ).count() )
|
||||
, m_shutdown( false )
|
||||
, m_shutdownManual( false )
|
||||
|
Loading…
x
Reference in New Issue
Block a user