#19041: wxWebView (Edge) does not unload WebView2Loader.dll on failure
----------------------+-------------------------------------
Reporter: rk | Owner: Vadim Zeitlin <vadim@…>
Type: defect | Status: closed
Priority: normal | Milestone:
Component: WebView | Version: dev-latest
Resolution: fixed | Keywords: Edge WebView2
Blocked By: | Blocking:
Patch: 1 |
----------------------+-------------------------------------
Changes (by Vadim Zeitlin <vadim@…>):
* status: new => closed
* owner: => Vadim Zeitlin <vadim@…>
* resolution: => fixed
Comment:
In [changeset:"bc825de1fe5c5323358242cdf9ea57bee4b8139e/git-wxWidgets"
bc825de1f/git-wxWidgets]:
{{{
#!CommitTicketReference repository="git-wxWidgets"
revision="bc825de1fe5c5323358242cdf9ea57bee4b8139e"
Simplify and make more robust wxWebViewEdge initialization
Get rid of ms_isInitialized as it must be kept synchronized with
ms_loaderDll.IsLoaded() anyhow, and it's simpler to not have it at all
rather than ensuring this.
Also ensure that calling Initialize() again, after doing it first
unsuccessfully, doesn't assert because ms_loaderDll is already loaded,
by only leaving it with a valid handle if the initialization succeeded.
Closes #19041.
}}}
--
Ticket URL: <
https://trac.wxwidgets.org/ticket/19041#comment:2>