Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[globe] Fix crashes occurring after globe is unloaded
- Loading branch information
Showing
with
3 additions
and
0 deletions.
-
+3
−0
src/plugins/globe/globe_plugin.cpp
|
@@ -776,6 +776,9 @@ void GlobePlugin::reset() |
|
|
delete mOsgViewer; |
|
|
mOsgViewer = 0; |
|
|
} |
|
|
mQgisMapLayer = 0; |
|
|
|
|
|
setGlobeNotRunning(); |
|
|
} |
|
|
|
|
|
void GlobePlugin::unload() |
|
|