-
Notifications
You must be signed in to change notification settings - Fork 919
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
Why webview Destroy() does not close webview window in both Linux and Windows environments? #588
Labels
Comments
Currently, I am facing the same issue. I really hope it will be fixed. |
Same issue for me too. I am running webview in a thread and Destroy() is not closing the window. |
Same issue here. Destroy executes and has no effect, window won't close until i cross it out myself. |
justjosias
changed the title
Why webview Destroy() does not close weview window in both Linux and Windows environments?
Why webview Destroy() does not close webview window in both Linux and Windows environments?
May 24, 2022
Is someone solving this problem for Windows? I see that Linux PR is not accepted yet. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What OS are you using (
uname -a
, or Windows version)?Both Linux and Windows.
Linux:
Linux shougo-GE 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Windows:
Windows 10 Enterprise 21H1
IE version: 11.789.19041.0
Edge: 91.0864.54
What programming language are you using (C/C++/Go/Rust)?
What did you expect to see and what you saw instead?
Expected:
Destroy()
should close webview window.I have tested below sample script.
Destroy()
is called after 5 seconds sleep, but the webview window does not be closed.The window is only closed when the script is exited.
I have read the code and it should close the window when
Destroy()
is called.webview/webview.go
Line 92 in f540d88
And in macOS the webview window close seems implemented.
webview/webview.h
Line 710 in f540d88
Note: The destructor is called when
Destroy()
is called.The behavior is changed when the code is merged?
843c3aa#diff-0332cdfa0ecdb4d0b79f675f5079e61cdc3e7f6f3c658a73c64973a1b35c2442
Related issue: #514
I think the above issue works because it is under macOS environment.
The text was updated successfully, but these errors were encountered: