Tango: kill camera instead of join to avoid lag when clicking pause

This commit is contained in:
matlabbe
2017-10-09 13:05:41 -04:00
parent 4de2ed767b
commit 66e79e23cb
2 changed files with 2 additions and 2 deletions

View File

@@ -1736,7 +1736,7 @@ void RTABMapApp::setPausedMapping(bool paused)
if(paused_)
{
LOGW("Pause!");
camera_->join(true);
camera_->kill();
}
else
{