Back out bug 1050122 for causing silent timeouts on emulator mochitests. a=me
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
#include "mozilla/BackgroundHangMonitor.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "base/process_util.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
|
||||
#include "prenv.h"
|
||||
|
||||
@@ -191,14 +190,6 @@ ProcLoaderClientGeckoInit()
|
||||
MOZ_ASSERT(!sProcLoaderClientGeckoInitialized,
|
||||
"call ProcLoaderClientGeckoInit() more than once");
|
||||
|
||||
if (!Preferences::GetBool("dom.ipc.processPrelaunch.enabled", false)) {
|
||||
kill(sProcLoaderPid, SIGKILL);
|
||||
sProcLoaderPid = 0;
|
||||
close(sProcLoaderChannelFd);
|
||||
sProcLoaderChannelFd = -1;
|
||||
return;
|
||||
}
|
||||
|
||||
sProcLoaderClientGeckoInitialized = true;
|
||||
|
||||
FileDescriptor *fd = new FileDescriptor(sProcLoaderChannelFd);
|
||||
|
||||
Reference in New Issue
Block a user