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
Родитель fd85533857
Коммит 953e1016ee
1 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

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