[java] SessionSlot should not stop itself, the node will command it to stop
@@ -92,9 +92,6 @@ public void execute(HttpRequest req, HttpResponse resp) throws IOException {
}
currentSession.execute(req, resp);
- if (req.getMethod() == DELETE && req.getUri().equals("/session/" + currentSession.getId())) {
- stop();
- }
}
@Override
