diff --git a/example/RefractiveIndex.cpp b/example/RefractiveIndex.cpp index 17b4118..51c0797 100644 --- a/example/RefractiveIndex.cpp +++ b/example/RefractiveIndex.cpp @@ -395,5 +395,7 @@ void RefractiveIndex::keyPressed (int key) void RefractiveIndex::exit() { + if(_currentAnalysis) + _analysisAdapator->stop(); stop_camera(); } \ No newline at end of file