mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 15:13:41 +02:00
Fix for crash on exit.
This commit is contained in:
parent
15f8b3006b
commit
7bcc267cb5
2 changed files with 8 additions and 0 deletions
|
@ -48,6 +48,12 @@ MetavoxelSystem::NetworkSimulation::NetworkSimulation(float dropRate, float repe
|
|||
bandwidthLimit(bandwidthLimit) {
|
||||
}
|
||||
|
||||
MetavoxelSystem::~MetavoxelSystem() {
|
||||
// kill the updater before we delete our network simulation objects
|
||||
_updater->thread()->quit();
|
||||
_updater->thread()->wait();
|
||||
}
|
||||
|
||||
void MetavoxelSystem::init() {
|
||||
MetavoxelClientManager::init();
|
||||
DefaultMetavoxelRendererImplementation::init();
|
||||
|
|
|
@ -43,6 +43,8 @@ public:
|
|||
int maximumDelay = 0, int bandwidthLimit = 0);
|
||||
};
|
||||
|
||||
virtual ~MetavoxelSystem();
|
||||
|
||||
virtual void init();
|
||||
|
||||
virtual MetavoxelLOD getLOD();
|
||||
|
|
Loading…
Reference in a new issue