Q:

Destroying Custom Subscriptions in KnockoutJS

I have a view model with some observables and I've created custom subscriptions to those observables. I want to NULL out the viewmodel by doing something like model(null).
Will that destroy those custom subscriptions or will I have to manually tear those down?

A:

If you are creating manual subscriptions against observables inside of your model observable, then you would need to keep references to the individual subscriptions and call .dispose() on them yourself.

