diff --git a/ipc/glue/AsyncChannel.cpp b/ipc/glue/AsyncChannel.cpp index 15465851480..d894060d1fa 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);