Comment Comment by vasilvv This sounds very similar to how base::WeakPtr works in Chromium [0]. It's a reasonable design, but it only works as long as the pointer is only accessed from the same thread it is created.[0] https://chromium.googlesource.com/chromium/src/+/HEAD/base/m... parent vasilvv 1 year ago
[0] https://chromium.googlesource.com/chromium/src/+/HEAD/base/m...