Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Skip callbacks with dead weakrefs while iterating over callbacks (…
…#2310) * Check refs while processing callbacks in case a callee is de-ref'd during the callback process. * Additionally flush after processing callbacks in case any callback de-ref's a callee. * Note that no additional tests are added for this case as the problem arises from and intermediate callback triggering a garbage-collect. It is unclear how to force this scenario deterministically in testing. * Add Jonas Rembser to contributors list. Co-authored-by: Jonas Rembser <jonas.rembser@cern.ch>
- Loading branch information