summaryrefslogtreecommitdiffstats
path: root/src/uscxml/debug/DebuggerServlet.cpp
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-07-05 08:05:55 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-07-05 08:05:55 (GMT)
commitbfefa5fd44b9ed1491612f26b099db8ad624247b (patch)
treeca4313ced9adb3288056c3e7ddf121e614cf3c2b /src/uscxml/debug/DebuggerServlet.cpp
parent04121c58222c95b1d808a1556b5110832a1c1119 (diff)
downloaduscxml-bfefa5fd44b9ed1491612f26b099db8ad624247b.zip
uscxml-bfefa5fd44b9ed1491612f26b099db8ad624247b.tar.gz
uscxml-bfefa5fd44b9ed1491612f26b099db8ad624247b.tar.bz2
More performant Monitors
Breaks InterpreterMonitor API, Interpreter argument is substituted by sessionId. Use Intererpreter::fromSessionId to retrieve actual session when required.
Diffstat (limited to 'src/uscxml/debug/DebuggerServlet.cpp')
-rw-r--r--src/uscxml/debug/DebuggerServlet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/debug/DebuggerServlet.cpp b/src/uscxml/debug/DebuggerServlet.cpp
index 1d2df6e..74853f4 100644
--- a/src/uscxml/debug/DebuggerServlet.cpp
+++ b/src/uscxml/debug/DebuggerServlet.cpp
@@ -210,7 +210,7 @@ void DebuggerServlet::processDisconnect(const HTTPServer::Request& request) {
replyData.compound["reason"] = Data("No such session", Data::VERBATIM);
} else {
replyData.compound["status"] = Data("success", Data::VERBATIM);
- detachSession(_sessionForId[sessionId]->getInterpreter().getImpl().get());
+ detachSession(sessionId);
_sessionForId[sessionId]->debugStop(request.data["content"]);
_clientConns.erase(_sessionForId[sessionId]);
_sendQueues.erase(_sessionForId[sessionId]);