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