backward: make signalhandler object static

having the sh a normal stack variable made the backtrace disappear
in some runs.
master
Andre Puschmann 3 years ago
parent b44372faae
commit 1ead159f3f

@ -22,7 +22,7 @@
using namespace backward;
void srsran_debug_handle_crash(int argc, char** argv)
{
backward::SignalHandling sh;
static backward::SignalHandling sh;
}
#else // HAVE_BACKWARD
#include "srsran/common/backtrace.h"

Loading…
Cancel
Save