History

Avoid killing the updater twice.

Andrzej Kapolka committed 12 years ago

Commit 4ab90ce1 parent 7bcc2672 files · +5 −2Browse files

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

Unified · Split

interface/src/MetavoxelSystem.cpp+1−0
@@ -52,6 +52,7 @@ MetavoxelSystem::~MetavoxelSystem() { · 51 unmodified lines
52 // kill the updater before we delete our network simulation objects52 // kill the updater before we delete our network simulation objects
53 _updater->thread()->quit();53 _updater->thread()->quit();
54 _updater->thread()->wait();54 _updater->thread()->wait();
55 _updater = NULL;
55}56}
56 57
57void MetavoxelSystem::init() {58void MetavoxelSystem::init() {