зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1465294 Part 8 - Don't enable crash reporter in recording/replaying processes, r=aklotz.
--HG-- extra : rebase_source : c07f157b2a4d2244e9fa344cf24624ef962430f1
This commit is contained in:
Родитель
c1908d9119
Коммит
de58a40fc1
|
@ -32,6 +32,11 @@ public:
|
|||
// crash reporter needs metadata), the shmem should be parsed.
|
||||
template <typename T>
|
||||
static bool InitSingleton(T* aToplevelProtocol) {
|
||||
// The crash reporter is not enabled in recording/replaying processes.
|
||||
if (recordreplay::IsRecordingOrReplaying()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Shmem shmem;
|
||||
if (!AllocShmem(aToplevelProtocol, &shmem)) {
|
||||
return false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче