From 5693046ad9039bd51b5282f99e21feabf48f358b Mon Sep 17 00:00:00 2001 From: dviid Date: Mon, 27 Feb 2012 19:39:35 +0100 Subject: [PATCH] fix exit procedure --- example/RefractiveIndex.cpp | 2 ++ 1 file changed, 2 insertions(+) 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