diff options
author | Stefan Radomski <sradomski@mintwerk.de> | 2016-04-22 10:49:41 (GMT) |
---|---|---|
committer | Stefan Radomski <sradomski@mintwerk.de> | 2016-04-22 10:49:41 (GMT) |
commit | f8ef62805dff7df0742958626a85afc1d4fd03da (patch) | |
tree | fe19f98c3e317e7c2db65b67258cd2efa32a7230 /src | |
parent | b3e5a85374523c614d09ceeebe7565a0a6ab6838 (diff) | |
download | uscxml-f8ef62805dff7df0742958626a85afc1d4fd03da.zip uscxml-f8ef62805dff7df0742958626a85afc1d4fd03da.tar.gz uscxml-f8ef62805dff7df0742958626a85afc1d4fd03da.tar.bz2 |
Issue62
Diffstat (limited to 'src')
-rw-r--r-- | src/uscxml/Interpreter.cpp | 4 |
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); } |