bug 529234: make sure to cleanup child processes

This commit is contained in:
Chris Jones 2009-11-19 13:03:30 -06:00
parent 737515b2c8
commit 27e7412d40

View File

@ -41,6 +41,7 @@
#include "base/path_service.h"
#include "base/string_util.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/process_watcher.h"
#include "prprf.h"
@ -78,6 +79,8 @@ GeckoChildProcessHost::GeckoChildProcessHost(GeckoProcessType aProcessType,
GeckoChildProcessHost::~GeckoChildProcessHost()
{
MOZ_COUNT_DTOR(GeckoChildProcessHost);
ProcessWatcher::EnsureProcessTerminated(mChildProcessHandle);
}
bool