Please sign in to comment.
Safety checks for unregistering map layers from registry
If a map layer which is registered is deleted outside of the layer registry but not unregistered, the layer registry would still happily return a pointer to this layer if queried with its id. Up to now, this caused crashes. Now, the layer will be unregistered and a warning is printed. This patch also contains slight improvements to other parts of the map layer registry.
- Loading branch information
Showing with 24 additions and 15 deletions.