> On Oct 28, 2024, at 2:57 PM, Darin Adler <da...@apple.com> wrote:
> 
> Why isn’t the destructor a problem? Seems like we still need to protect the 
> object if the SetOnceRefPtr itself might be destroyed.

We’d rely on transitive property. Since our rule / convention is that the 
caller of a member function keeps “this” object alive, the destructor of 
SetOnceRefPtr wouldn’t run while the member function is being called.

- R. Niwa

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

Reply via email to