Bug 251258 - [GTK][WPE] Add GWeakPtr to WTF and use it instead of explicit g_object_add|remove_weak_pointer
Summary: [GTK][WPE] Add GWeakPtr to WTF and use it instead of explicit g_object_add|re...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Garcia Campos
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2023-01-27 03:02 PST by Carlos Garcia Campos
Modified: 2023-01-27 06:37 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2023-01-27 03:02:54 PST
It's very common to forget to remove a weak references, GWeakPtr ensures weak references are always removed and makes easier to create weak GObjects.
Comment 1 Carlos Garcia Campos 2023-01-27 03:04:21 PST
Pull request: https://github.com/WebKit/WebKit/pull/9218
Comment 2 EWS 2023-01-27 06:37:37 PST
Committed 259482@main (c995526f4286): <https://commits.webkit.org/259482@main>

Reviewed commits have been landed. Closing PR #9218 and removing active labels.