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.