I have a .NET application that needs uses a WebBrowser to automatically navigate through a bunch of pages. But if I go to, for instance, Google and set Google I
WebBrowser
I think HtmlElement pnext is not released, since it's ComObject, and there may be a bug in Browser Control.
Try pnext.Release or try Marshal.Release and get the instance of ComObject to release.