You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Broadcast` receivers were not getting cleaned up when then go out of
scope, because `Broadcast` instances were holding on to a strong
reference to them. And because these receivers were not being read from
anymore, but were still getting messages, their buffers would overflow,
and the logs would get flooded with warnings.
This PR fixes this issue by storing just weak references to the
receivers in the `Broadcast` instances.
0 commit comments