mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Signals are only set if TRACY_NO_CRASH_HANDLER is not defined.
This commit is contained in:
parent
4abb3b5e90
commit
e7ac54fba6
@ -1454,7 +1454,7 @@ Profiler::~Profiler()
|
||||
if( m_crashHandlerInstalled ) RemoveVectoredExceptionHandler( m_exceptionHandler );
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#if defined __linux__ && !defined TRACY_NO_CRASH_HANDLER
|
||||
if( m_crashHandlerInstalled )
|
||||
{
|
||||
sigaction( TRACY_CRASH_SIGNAL, &m_prevSignal.pwr, nullptr );
|
||||
|
Loading…
Reference in New Issue
Block a user