Bug 251258

Summary: [GTK][WPE] Add GWeakPtr to WTF and use it instead of explicit g_object_add|remove_weak_pointer
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2 Keywords: Gtk
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.