有时调用Dispose(true)
会永远挂起,并且不会释放内存。我该怎么做才能克服这个问题?
Stacktrace:
System.Windows.Forms.dll!System.Windows.Forms.AxHost.ConnectionPointCookie.Disconnect() Unknown
System.Windows.Forms.dll!System.Windows.Forms.HtmlWindow.HtmlWindowShim.DisconnectFromEvents() Unknown
System.Windows.Forms.dll!System.Windows.Forms.HtmlShim.Dispose(bool disposing) Unknown
System.Windows.Forms.dll!System.Windows.Forms.HtmlWindow.HtmlWindowShim.Dispose(bool disposing) Unknown
System.Windows.Forms.dll!System.Windows.Forms.HtmlShimManager.Dispose(bool disposing) Unknown
System.Windows.Forms.dll!System.Windows.Forms.WebBrowser.Dispose(bool disposing) Unknown
Evaluation of: _browser.Control.Dispose(true)