MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Samples / Release

Method Release

SampleApps/WebView2APISample/AppWindow.cpp:3041–3048  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3039}
3040
3041void AppWindow::Release()
3042{
3043 uint32_t refCount = InterlockedDecrement((LONG*)&m_refCount);
3044 if (refCount == 0)
3045 {
3046 delete this;
3047 }
3048}
3049
3050void AppWindow::NotifyClosed()
3051{

Callers 4

DownloadAndInstallWV2RTFunction · 0.80
DeleteFileRecursiveMethod · 0.80
ThreadProcFunction · 0.80
ScenarioAddHostObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected