mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1242119 - Remove early exit in WinXP debug content processes. r=froydnj
This was disabled because it was causing intermittent failures in a test, but that failure seems to have stopped. This will cause us to start doing leak checking in content processes on Windows XP.
This commit is contained in:
parent
fd85533857
commit
953e1016ee
@ -968,18 +968,6 @@ ShutdownXPCOM(nsIServiceManager* aServMgr)
|
||||
NS_ShutdownNativeCharsetUtils();
|
||||
#endif
|
||||
|
||||
#if defined(XP_WIN)
|
||||
// This exit(0) call is intended to be temporary, to get shutdown leak
|
||||
// checking working on Linux.
|
||||
// On Windows XP debug, there are intermittent failures in
|
||||
// dom/media/tests/mochitest/test_peerConnection_basicH264Video.html
|
||||
// if we don't exit early in a child process. See bug 1073310.
|
||||
if (XRE_IsContentProcess() && !IsVistaOrLater()) {
|
||||
NS_WARNING("Exiting child process early!");
|
||||
exit(0);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Shutdown xpcom. This will release all loaders and cause others holding
|
||||
// a refcount to the component manager to release it.
|
||||
if (nsComponentManagerImpl::gComponentManager) {
|
||||
|
Loading…
Reference in New Issue
Block a user