OpenDirective / brian

Easy communication and media access for people with cognitive access requirements
http://opendirective.github.io/brian
MIT License
8 stars 3 forks source link

Kill previous subscriptions when switching screen #91

Closed SteveALee closed 6 years ago

SteveALee commented 8 years ago

When we switch screen the previous observables are still live as we see messages. I suume untill GC kicks in. But need to check for memory leaks

An Observable.unsubscribe in the router might work but better to do in the drivers somehow as they are the point of subscription