crashReporter: cleanup code (#12534)
various code cleanups, reorders, move off of global NS
This commit is contained in:
parent
3cf0280b11
commit
93e5e92b0a
6 changed files with 255 additions and 222 deletions
|
|
@ -27,7 +27,7 @@
|
|||
#include <filesystem>
|
||||
#include <unordered_set>
|
||||
#include "debug/HyprCtl.hpp"
|
||||
#include "debug/CrashReporter.hpp"
|
||||
#include "debug/crash/CrashReporter.hpp"
|
||||
#ifdef USES_SYSTEMD
|
||||
#include <helpers/SdDaemon.hpp> // for SdNotify
|
||||
#endif
|
||||
|
|
@ -113,7 +113,7 @@ static void handleUnrecoverableSignal(int sig) {
|
|||
});
|
||||
alarm(15);
|
||||
|
||||
NCrashReporter::createAndSaveCrash(sig);
|
||||
CrashReporter::createAndSaveCrash(sig);
|
||||
|
||||
abort();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue