mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:45:59 +01:00
core: add env to disable crash reporter
This commit is contained in:
parent
c353b7c4f7
commit
e83bf4f7b7
1 changed files with 5 additions and 2 deletions
|
@ -99,8 +99,11 @@ void CCompositor::initServer() {
|
|||
|
||||
// register crit signal handler
|
||||
wl_event_loop_add_signal(m_sWLEventLoop, SIGTERM, handleCritSignal, nullptr);
|
||||
signal(SIGSEGV, handleUnrecoverableSignal);
|
||||
signal(SIGABRT, handleUnrecoverableSignal);
|
||||
|
||||
if (!envEnabled("HYPRLAND_NO_CRASHREPORTER")) {
|
||||
signal(SIGSEGV, handleUnrecoverableSignal);
|
||||
signal(SIGABRT, handleUnrecoverableSignal);
|
||||
}
|
||||
signal(SIGUSR1, handleUserSignal);
|
||||
|
||||
initManagers(STAGE_PRIORITY);
|
||||
|
|
Loading…
Reference in a new issue