summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Radomski <sradomski@mintwerk.de>2016-04-22 10:49:41 (GMT)
committerStefan Radomski <sradomski@mintwerk.de>2016-04-22 10:49:41 (GMT)
commitf8ef62805dff7df0742958626a85afc1d4fd03da (patch)
treefe19f98c3e317e7c2db65b67258cd2efa32a7230 /src
parentb3e5a85374523c614d09ceeebe7565a0a6ab6838 (diff)
downloaduscxml-f8ef62805dff7df0742958626a85afc1d4fd03da.zip
uscxml-f8ef62805dff7df0742958626a85afc1d4fd03da.tar.gz
uscxml-f8ef62805dff7df0742958626a85afc1d4fd03da.tar.bz2
Issue62
Diffstat (limited to 'src')
-rw-r--r--src/uscxml/Interpreter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp
index 3e4171e..12f1c32 100644
--- a/src/uscxml/Interpreter.cpp
+++ b/src/uscxml/Interpreter.cpp
@@ -924,6 +924,10 @@ InterpreterState InterpreterImpl::step(int waitForMS) {
return _state;
}
+ if (_state == USCXML_FINISHED || _state == USCXML_DESTROYED) {
+ return _state;
+ }
+
setInterpreterState(USCXML_MACROSTEPPED);
}