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: | WebKitGTK | Assignee: | Carlos Garcia Campos <cgarcia> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | Keywords: | Gtk |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Carlos Garcia Campos
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/9218
EWS
Committed 259482@main (c995526f4286): <https://commits.webkit.org/259482@main>
Reviewed commits have been landed. Closing PR #9218 and removing active labels.