source-view: make sure state is unloaded on dispose.