CoreWebView2DiagnosticMonitor.Close Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Release the diagnostic subscription and any registered handlers.
public void Close();
member this.Close : unit -> unit
Public Sub Close ()
Remarks
The application should call this API when no access to the monitor is needed any more, to ensure that the underlying resources are released timely even if the monitor object itself is not released due to some leaked reference.