Closed fer-ri closed 3 years ago
When using the option isLive: true, the stream always opens even we navigate to another screen. With this PR, automatically gathering all stream listeners and cancel it on dispose().
isLive: true
dispose()
@all-contributors please add @ghprod for code
@excogitatr
I've put up a pull request to add @ghprod! :tada:
Thanks @excogitatr
When using the option
isLive: true
, the stream always opens even we navigate to another screen. With this PR, automatically gathering all stream listeners and cancel it ondispose()
.