Remove a DCHECK that happens on every exit of IE. We appear to be leaking...

Remove a DCHECK that happens on every exit of IE. We appear to be leaking automation proxies, which I maintain is a bad thing.

BUG=Start IE with debug CF installed, navigate to a chrome frame page, exit IE, see the DCHECK.

Review URL: http://codereview.chromium.org/342018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30366 0039d316-1c4b-4281-b951-d872f2087c98
parent 18cef85a
......@@ -164,7 +164,12 @@ ProxyFactory::ProxyFactory()
}
ProxyFactory::~ProxyFactory() {
DCHECK_EQ(proxies_.container().size(), 0);
for (size_t i = 0; i < proxies_.container().size(); ++i) {
if (WAIT_OBJECT_0 !=
WaitForSingleObject(proxies_[i]->thread->thread_handle(), 0))
// TODO(stoyan): Don't leak proxies on exit.
DLOG(ERROR) << "Proxies leaked on exit.";
}
}
void* ProxyFactory::GetAutomationServer(int launch_timeout,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment