mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00
Backed out changeset 3719f1901ffe (bug 1529125) for mda assertion failures CLOSED TREE
This commit is contained in:
parent
bc55f8ae1c
commit
0205efa9c3
@ -88,7 +88,6 @@
|
||||
#include "GMPProcessChild.h"
|
||||
#include "mozilla/gfx/GPUProcessImpl.h"
|
||||
#include "mozilla/net/SocketProcessImpl.h"
|
||||
#include "mozilla/IOInterposer.h"
|
||||
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
@ -365,12 +364,6 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[],
|
||||
}
|
||||
#endif
|
||||
|
||||
// Initialize the IOInterposer. This ensures that all threads that attempt to
|
||||
// register themselves with the IOInterposer will be properly tracked. Note
|
||||
// this initialization does not use the RAII guard IOInterposerInit, as it
|
||||
// will fail to clear itself before the memory leak checks happen.
|
||||
IOInterposer::Init();
|
||||
|
||||
#if defined(XP_LINUX) && defined(MOZ_SANDBOX)
|
||||
// This has to happen before glib thread pools are started.
|
||||
mozilla::SandboxEarlyInit();
|
||||
@ -768,10 +761,6 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[],
|
||||
// Run the UI event loop on the main thread.
|
||||
uiMessageLoop.MessageLoop::Run();
|
||||
|
||||
// Clear the interposer instrumentation before the child process shuts
|
||||
// down, so it doesn't show up as a leak.
|
||||
IOInterposer::Clear();
|
||||
|
||||
// Allow ProcessChild to clean up after itself before going out of
|
||||
// scope and being deleted
|
||||
process->CleanUp();
|
||||
|
Loading…
x
Reference in New Issue
Block a user