mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 07: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
|
// register crit signal handler
|
||||||
wl_event_loop_add_signal(m_sWLEventLoop, SIGTERM, handleCritSignal, nullptr);
|
wl_event_loop_add_signal(m_sWLEventLoop, SIGTERM, handleCritSignal, nullptr);
|
||||||
|
|
||||||
|
if (!envEnabled("HYPRLAND_NO_CRASHREPORTER")) {
|
||||||
signal(SIGSEGV, handleUnrecoverableSignal);
|
signal(SIGSEGV, handleUnrecoverableSignal);
|
||||||
signal(SIGABRT, handleUnrecoverableSignal);
|
signal(SIGABRT, handleUnrecoverableSignal);
|
||||||
|
}
|
||||||
signal(SIGUSR1, handleUserSignal);
|
signal(SIGUSR1, handleUserSignal);
|
||||||
|
|
||||||
initManagers(STAGE_PRIORITY);
|
initManagers(STAGE_PRIORITY);
|
||||||
|
|
Loading…
Reference in a new issue