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:
Andrew McCreight 2016-02-03 07:28:27 -08:00
parent fd85533857
commit 953e1016ee

View File

@ -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) {