2.0 System Tray only app (close all webview windows without exit) #11489
Unanswered
RealFireAU
asked this question in
Q&A
Replies: 1 comment
-
Update:
it only seems to fail when using the loop i am referring to is
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I was familiar with
api.prevent_exit()
in v1 which from memory worked as intended allowing you to close all webview windows and terminate the webview process, I've been experimenting with 2.0 and have tried the same methodHowever on macos (haven't tested windows yet) this results in a loop as closing all the webview windows emits ExitRequested is there a way to prevent this behavior without merely hiding the window?
Beta Was this translation helpful? Give feedback.
All reactions