Join Slack
Powered by
and dispose its subscriptions, nothing leaks?
# rx
u
ursus
04/08/2019, 8:13 PM
and dispose its subscriptions, nothing leaks?
g
gildor
04/09/2019, 5:01 AM
it will leak
u
ursus
04/09/2019, 5:36 AM
how? Shouldnt only the listener leak if I detach his references ti outside world?
g
gildor
04/09/2019, 5:36 AM
At least observable will leak, but it may be not so big problem
gildor
04/09/2019, 5:37 AM
Also you can use weak reference to avoid leak in this case
u
ursus
04/09/2019, 5:39 AM
yes, just making sure, thanks
ursus
04/09/2019, 5:39 AM
anyways what a stupid api
g
gildor
04/09/2019, 6:00 AM
Yeah, agree
2
Views
Open in Slack
Previous
Next