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
Hi Folks, we recently started using CombineExt in a project and it's already proven itself invaluable for fixing plenty of common scenarios we wanted to solve, so kudos for that.
We had a need to use share(replay:) recently and noticed after implementing it that we had some retain cycles appearing in our application. After spending some time looking into them, it looks to be caused by ReplaySubject not releasing its subscriptions when they receive a completion.
I've got an idea for a fix, but I'm not well versed enough on Combine yet to appreciate what the other implications of it may be, so any help would be appreciated, thanks.
The text was updated successfully, but these errors were encountered:
Hi Folks, we recently started using CombineExt in a project and it's already proven itself invaluable for fixing plenty of common scenarios we wanted to solve, so kudos for that.
We had a need to use
share(replay:)
recently and noticed after implementing it that we had some retain cycles appearing in our application. After spending some time looking into them, it looks to be caused byReplaySubject
not releasing its subscriptions when they receive a completion.I've got an idea for a fix, but I'm not well versed enough on Combine yet to appreciate what the other implications of it may be, so any help would be appreciated, thanks.
The text was updated successfully, but these errors were encountered: