Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[globe] Fix crashes occurring after globe is unloaded
  • Loading branch information
dakcarto committed Sep 14, 2013
1 parent 546b8d2 commit a1a95c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/globe/globe_plugin.cpp
Expand Up @@ -776,6 +776,9 @@ void GlobePlugin::reset()
delete mOsgViewer;
mOsgViewer = 0;
}
mQgisMapLayer = 0;

setGlobeNotRunning();
}

void GlobePlugin::unload()
Expand Down

0 comments on commit a1a95c1

Please sign in to comment.