From e7ac54fba6ba52dfc92df266736f18de53df6cbc Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 3 Nov 2022 17:21:09 +0100 Subject: [PATCH] Signals are only set if TRACY_NO_CRASH_HANDLER is not defined. --- public/client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/client/TracyProfiler.cpp b/public/client/TracyProfiler.cpp index a6017397..afde50e3 100644 --- a/public/client/TracyProfiler.cpp +++ b/public/client/TracyProfiler.cpp @@ -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 );