OPAL-2581 - made sure to unregister the datasource from the view manager