This ensures that the observer is not an invalid reference if the removed Source/Layer is retained, but the Style is deallocated.
This ensures that the observer is not an invalid reference if the removed Source/Layer is retained, but the Style is deallocated.