Skip to content

Commit a1a95c1

Browse files
committed
[globe] Fix crashes occurring after globe is unloaded
1 parent 546b8d2 commit a1a95c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/plugins/globe/globe_plugin.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,9 @@ void GlobePlugin::reset()
776776
delete mOsgViewer;
777777
mOsgViewer = 0;
778778
}
779+
mQgisMapLayer = 0;
780+
781+
setGlobeNotRunning();
779782
}
780783

781784
void GlobePlugin::unload()

0 commit comments

Comments
 (0)