History

Fix for crash on exit.

Andrzej Kapolka committed 12 years ago

Commit 7bcc2671 parent 15f8b302 files · +8 −0Browse files

Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 2 files). Show all

Unified · Split

interface/src/MetavoxelSystem.cpp+6−0
@@ -48,6 +48,12 @@ MetavoxelSystem::NetworkSimulation::NetworkSimulation(float dropRate, float repe · 47 unmodified lines
48 bandwidthLimit(bandwidthLimit) {48 bandwidthLimit(bandwidthLimit) {
49} 49}
50 50
51MetavoxelSystem::~MetavoxelSystem() {
52 // kill the updater before we delete our network simulation objects
53 _updater->thread()->quit();
54 _updater->thread()->wait();
55}
56
51void MetavoxelSystem::init() {57void MetavoxelSystem::init() {
52 MetavoxelClientManager::init();58 MetavoxelClientManager::init();
53 DefaultMetavoxelRendererImplementation::init();59 DefaultMetavoxelRendererImplementation::init();