summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.cpp
diff options
context:
space:
mode:
authorStefan Radomski <sradomski@mintwerk.de>2016-05-05 11:33:10 (GMT)
committerStefan Radomski <sradomski@mintwerk.de>2016-05-05 11:33:10 (GMT)
commit43ac168a8ea4a75f1df7b2b6d7444b618eedd42c (patch)
tree17df92e5bb5548de5cb5bd952165e4384cca8a53 /src/uscxml/Interpreter.cpp
parent4750623a631e72c7a8be8d4172b33c83f20113a6 (diff)
downloaduscxml-43ac168a8ea4a75f1df7b2b6d7444b618eedd42c.zip
uscxml-43ac168a8ea4a75f1df7b2b6d7444b618eedd42c.tar.gz
uscxml-43ac168a8ea4a75f1df7b2b6d7444b618eedd42c.tar.bz2
Fixed first part of issue 68
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)