summaryrefslogtreecommitdiffstats
path: root/src/uscxml/interpreter/InterpreterImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/interpreter/InterpreterImpl.h')
-rw-r--r--src/uscxml/interpreter/InterpreterImpl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/uscxml/interpreter/InterpreterImpl.h b/src/uscxml/interpreter/InterpreterImpl.h
index e693bbf..be33306 100644
--- a/src/uscxml/interpreter/InterpreterImpl.h
+++ b/src/uscxml/interpreter/InterpreterImpl.h
@@ -76,11 +76,14 @@ public:
}
virtual void reset() {///< Reset state machine
- _microStepper.reset();
+ if (_microStepper)
+ _microStepper.reset();
+
_isInitialized = false;
_state = USCXML_INSTANTIATED;
// _dataModel.reset();
-// _eventQueue.reset();
+ if (_delayQueue)
+ _delayQueue.reset();
// _contentExecutor.reset();
}