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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp
index ef7afde..0fa366b 100644
--- a/src/uscxml/Interpreter.cpp
+++ b/src/uscxml/Interpreter.cpp
@@ -2660,6 +2660,10 @@ void InterpreterImpl::executeContent(const Arabica::DOM::Element<std::string>& c
return;
}
_sendQueue->cancelEvent(sendId);
+ {
+ tthread::lock_guard<tthread::recursive_mutex> lock(_sendQueue->_mutex);
+ _sendIds.erase(sendId); // issue 68
+ }
}
CATCH_AND_DISTRIBUTE2("Syntax error while executing cancel element", content)