diff options
Diffstat (limited to 'src/uscxml/interpreter/InterpreterImpl.cpp')
-rw-r--r-- | src/uscxml/interpreter/InterpreterImpl.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/uscxml/interpreter/InterpreterImpl.cpp b/src/uscxml/interpreter/InterpreterImpl.cpp index 1caa3f0..185ad75 100644 --- a/src/uscxml/interpreter/InterpreterImpl.cpp +++ b/src/uscxml/interpreter/InterpreterImpl.cpp @@ -103,8 +103,8 @@ InterpreterImpl::~InterpreterImpl() { if (_document) delete _document; - if (_lambdaMonitor) - delete _lambdaMonitor; + if (_lambdaMonitor) + delete _lambdaMonitor; { std::lock_guard<std::recursive_mutex> lock(_instanceMutex); @@ -626,11 +626,11 @@ void InterpreterImpl::enqueueAtParent(const Event& event) { } LambdaMonitor& InterpreterImpl::on() { - if (_lambdaMonitor == NULL) { - _lambdaMonitor = new LambdaMonitor(); - addMonitor(_lambdaMonitor); - } - return *_lambdaMonitor; + if (_lambdaMonitor == NULL) { + _lambdaMonitor = new LambdaMonitor(); + addMonitor(_lambdaMonitor); + } + return *_lambdaMonitor; } } |