Warning · Concurrency
Impact
The last observer can silently discard the caller’s new `notify` or `notify_all` method.
Recommended action
Avoid rewriting caller-mutable attributes during teardown unless the ownership check and update can be made atomic with caller assignments.