or is viewmodel expected somehow to halt emissions
# compose
u
or is viewmodel expected somehow to halt emissions
a
If you're collecting cold flows and you want them to stop when a lifecycle is stopped, you might find this helpful with or without compose involved: https://android.googlesource.com/platform/frameworks/support/+/67cbbea03d7036f3bd27aae897a3d44b2ee027f5