Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebView2 error message #10

Open
leaanthony opened this issue Sep 25, 2021 · 3 comments
Open

WebView2 error message #10

leaanthony opened this issue Sep 25, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@leaanthony
Copy link
Contributor

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?

@jchv
Copy link
Owner

jchv commented Sep 26, 2021

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 jchv added the bug Something isn't working label Sep 26, 2021
@Baiyuetribe
Copy link

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

@leaanthony
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants