MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / ShutDownSession

Method ShutDownSession

cpp/webdriver-server/server.cc:284–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284void Server::ShutDownSession(const std::string& session_id) {
285 LOG(TRACE) << "Entering Server::ShutDownSession";
286
287 SessionMap::iterator it = this->sessions_.find(session_id);
288 if (it != this->sessions_.end()) {
289 it->second->ShutDown();
290 this->sessions_.erase(session_id);
291 } else {
292 LOG(DEBUG) << "Shutdown session is not found";
293 }
294}
295
296std::string Server::ReadRequestBody(struct mg_connection* conn,
297 const struct mg_request_info* request_info) {

Callers 2

~ServerMethod · 0.95
DispatchCommandMethod · 0.95

Calls 4

findMethod · 0.80
endMethod · 0.80
LOGClass · 0.70
ShutDownMethod · 0.45

Tested by

no test coverage detected