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() {
|
void AtomBrowserMainParts::PreEarlyInitialization() {
|
||||||
|
brightray::BrowserMainParts::PreEarlyInitialization();
|
||||||
#if defined(OS_POSIX)
|
#if defined(OS_POSIX)
|
||||||
HandleSIGCHLD();
|
HandleSIGCHLD();
|
||||||
#endif
|
#endif
|
||||||
|
@ -119,6 +120,7 @@ void AtomBrowserMainParts::PreMainMessageLoopRun() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void AtomBrowserMainParts::PostMainMessageLoopStart() {
|
void AtomBrowserMainParts::PostMainMessageLoopStart() {
|
||||||
|
brightray::BrowserMainParts::PostMainMessageLoopStart();
|
||||||
#if defined(OS_POSIX)
|
#if defined(OS_POSIX)
|
||||||
HandleShutdownSignals();
|
HandleShutdownSignals();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue