On Fri, Jan 27 2023 at 10:52:52 AM -0600, Michael Catanzaro <mcatanz...@redhat.com> wrote:
There is probably a relatively high cost compared to WTF::WeakPtr, so I'd say it should be used only when it provides valuable safety (e.g. in member variables) rather than spammed (e.g. in local variables).

Another good use for GWeakPtr: callbacks


_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to