mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 04:43:53 +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 );
|
if( m_crashHandlerInstalled ) RemoveVectoredExceptionHandler( m_exceptionHandler );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __linux__
|
#if defined __linux__ && !defined TRACY_NO_CRASH_HANDLER
|
||||||
if( m_crashHandlerInstalled )
|
if( m_crashHandlerInstalled )
|
||||||
{
|
{
|
||||||
sigaction( TRACY_CRASH_SIGNAL, &m_prevSignal.pwr, nullptr );
|
sigaction( TRACY_CRASH_SIGNAL, &m_prevSignal.pwr, nullptr );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user