mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix crashing on Linux
This commit is contained in:
@@ -53,6 +53,7 @@ void AtomBrowserMainParts::RegisterDestructionCallback(
|
||||
}
|
||||
|
||||
void AtomBrowserMainParts::PreEarlyInitialization() {
|
||||
brightray::BrowserMainParts::PreEarlyInitialization();
|
||||
#if defined(OS_POSIX)
|
||||
HandleSIGCHLD();
|
||||
#endif
|
||||
@@ -119,6 +120,7 @@ void AtomBrowserMainParts::PreMainMessageLoopRun() {
|
||||
}
|
||||
|
||||
void AtomBrowserMainParts::PostMainMessageLoopStart() {
|
||||
brightray::BrowserMainParts::PostMainMessageLoopStart();
|
||||
#if defined(OS_POSIX)
|
||||
HandleShutdownSignals();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user