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
5252 // kill the updater before we delete our network simulation objects
5353 _updater->thread()->quit();
5454 _updater->thread()->wait();
55+ _updater = NULL;
5556 }
5657
5758 void MetavoxelSystem::init() {