CWebView::~CWebView  
 
~CWebView();

The CWebView destructor releases resources allocated by the current instance of the CWebView object. It also uninitializes the library if there are no other concurrent uses of the class.

Remarks

When a CWebView object goes out of scope, the destructor is automatically called to allow the library to free any resources allocated on behalf of the process. Any pending blocking or asynchronous calls in this process are canceled without posting any notification messages. The WebView2 instance created by the class will be destroyed. If the class instance was created using a temporary user data folder, all cached data for the session will be deleted and the folder will be removed.

The destructor is not called explicitly by the application.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: cshtmv12.lib

See Also