-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change manually removes the connected signal by their id for gotk3 and go-webkit2 objects for HTML pages when a tab is closed. This prevents a leak where connected signals can prevent finalizers from running (see conformal/gotk3#55). Also, rather than waiting for the glib.Object finalizer on each wk2.WebView (which may take up to 3 minutes before the Go GC runs), explicitly .Destroy() the webview widget. This causes the WebKitWebProcess to be immediately closed.
- Loading branch information
Showing
1 changed file
with
48 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters