go-webview2 icon indicating copy to clipboard operation
go-webview2 copied to clipboard

WebView2 error message

Open leaanthony opened this issue 4 years ago • 3 comments

This appears on the console on exit: [0925/110501.167:ERROR:window_impl.cc(114)] Failed to unregister class Chrome_WidgetWin_0. Error = 0

There's a few references to it but the most specific I can find is this PR from 2012. It can probably safely ignored?

leaanthony avatar Sep 25 '21 01:09 leaanthony

Interesting. I agree it can almost certainly be safely ignored, as all of the classes that are registered in a process are freed when the process exits. However, this might cause issues if you have an application that loads and unloads WebView2 multiple times for any reason. I assume this is not related to anything in our code. The go-winloader shenanigans only apply to the WebView2Loader shim, so I don't think that's related.

jchv avatar Sep 26 '21 04:09 jchv

I also encountered the same problem。use wailsv2.0 beta+ vue3 image

Baiyuetribe avatar Oct 01 '21 14:10 Baiyuetribe

that runtime error is fixed. Not sure we can do anything about the warning.

leaanthony avatar Oct 01 '21 14:10 leaanthony