Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backport): Skip callbacks with dead weakrefs while iterating over…
… callbacks (#2321) * Backport PR #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: Daniel Werner <[email protected]> Co-authored-by: Jonas Rembser <[email protected]>
- Loading branch information