From abbbc74bb13906ba08b128121bf499ffd80fc8f7 Mon Sep 17 00:00:00 2001 From: Benjamin Smedberg Date: Fri, 20 Nov 2009 13:49:15 -0500 Subject: [PATCH] Do full shutdown, instead of _exit(0) shutdown in the plugin process when we're doing leak checking. --- ipc/glue/AsyncChannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc/glue/AsyncChannel.cpp b/ipc/glue/AsyncChannel.cpp index 15465851480f..d894060d1fac 100644 --- a/ipc/glue/AsyncChannel.cpp +++ b/ipc/glue/AsyncChannel.cpp @@ -273,7 +273,7 @@ AsyncChannel::OnChannelError() } else { // Child process, initiate quit sequence. -#ifdef DEBUG +#if defined(DEBUG) || defined(NS_BUILD_REFCNT_LOGGING) // XXXbent this is totally out of place, but works for now. XRE_ShutdownChildProcess(mWorkerLoop);