Closed ShadyShenAli closed 4 months ago
Is it possible to also add onClose event so that additional clean-up can be triggered if user close the webview.
Any code written after webview.run() will be executed as soon as the window is closed as run() blocks the current thread until the windows closes.
webview.run()
run()
webview.run(); console.log("closed");
Is it possible to also add onClose event so that additional clean-up can be triggered if user close the webview.