summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/Interpreter.cpp')
-rw-r--r--src/uscxml/Interpreter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp
index d8bd1ec..f1490d4 100644
--- a/src/uscxml/Interpreter.cpp
+++ b/src/uscxml/Interpreter.cpp
@@ -72,7 +72,8 @@
#define VALID_FROM_INITIALIZED(newState) ( \
newState == USCXML_MICROSTEPPED || \
- newState == USCXML_FINISHED \
+ newState == USCXML_FINISHED || \
+ newState == USCXML_DESTROYED \
)
#define VALID_FROM_MICROSTEPPED(newState) ( \