Documentation
¶
Overview ¶
Package webprocess quits the Linux app with its web processes ended first (DSK-100). Closing the window destroys the web view and WebKitGTK's web process exits on its own; on NVIDIA, with the GPU on, the driver's EGL tears down in the exit handlers while WebKit's painting threads still release their GL contexts, and the web process dies of a segfault (a core dump and a crash report each time the window closes). Ended by WebKit first, it's killed, and no exit handler runs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Quit ¶
func Quit() bool
Quit ends the web process of every web view in the app's windows, then GTK's main loop, on GTK's thread: Wails then closes the window as it does after its own quit. It reports true, so the caller (OnBeforeClose) leaves quitting to it; it may be called from any goroutine.
Types ¶
This section is empty.