Fix crashing on Linux
This commit is contained in:
parent
a2a4970f5f
commit
d4bfeff6ad
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue