Will a StreamSubscription stay alive indefinitely if cancel() is not called?

I have always made a habit to call cancel() on all StreamSubsciptions in Dart. But I am curious what happens if I don't. Will the stream cancel if the garbage collection cleans up the StreamSubscription?



Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept