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:
@@ -968,18 +968,6 @@ ShutdownXPCOM(nsIServiceManager* aServMgr)
|
|||||||
NS_ShutdownNativeCharsetUtils();
|
NS_ShutdownNativeCharsetUtils();
|
||||||
#endif
|
#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
|
// Shutdown xpcom. This will release all loaders and cause others holding
|
||||||
// a refcount to the component manager to release it.
|
// a refcount to the component manager to release it.
|
||||||
if (nsComponentManagerImpl::gComponentManager) {
|
if (nsComponentManagerImpl::gComponentManager) {
|
||||||
|
|||||||
Reference in New Issue
Block a user