1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

GetThreadHandle() might be used by application's code.

This commit is contained in:
Bartosz Taudul
2019-06-25 15:44:49 +02:00
parent 0b656c3469
commit bc7f2c49c8
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -928,7 +928,7 @@ enum { BulkSize = TargetFrameSize / QueueItemSize };
Profiler::Profiler()
: m_timeBegin( 0 )
, m_mainThread( GetThreadHandleImpl() )
, m_mainThread( detail::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 )