mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1110499 - Don't exit crash handler on Android until we've finished started the reporter r=ted,blassey
--HG-- extra : rebase_source : e25fc2ba798e602d4a1a3b452c80caba6cb37190
This commit is contained in:
parent
762a41a240
commit
e0411499b1
@ -53,8 +53,10 @@
|
||||
#include "client/linux/crash_generation/client_info.h"
|
||||
#include "client/linux/crash_generation/crash_generation_server.h"
|
||||
#include "client/linux/handler/exception_handler.h"
|
||||
#include "common/linux/eintr_wrapper.h"
|
||||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
#elif defined(XP_SOLARIS)
|
||||
#include "client/solaris/handler/exception_handler.h"
|
||||
@ -956,6 +958,13 @@ bool MinidumpCallback(
|
||||
}
|
||||
#endif
|
||||
_exit(1);
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
} else {
|
||||
// We need to wait on the 'am start' command above to finish, otherwise everything will
|
||||
// be killed by the ActivityManager as soon as the signal handler exits
|
||||
int status;
|
||||
unused << HANDLE_EINTR(sys_waitpid(pid, &status, __WALL));
|
||||
#endif
|
||||
}
|
||||
#endif // XP_MACOSX
|
||||
#endif // XP_UNIX
|
||||
|
Loading…
Reference in New Issue
Block a user