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

Method ShutDown

cpp/iedriver/IEServer.cpp:87–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void IEServer::ShutDown() {
88 LOG(TRACE) << "Entering IEServer::ShutDown";
89 DWORD process_id = ::GetCurrentProcessId();
90 std::wstring process_id_string = std::to_wstring(static_cast<long long>(process_id));
91 std::wstring event_name = IESERVER_SHUTDOWN_EVENT_NAME + process_id_string;
92 HANDLE event_handle = ::OpenEvent(EVENT_MODIFY_STATE,
93 FALSE,
94 event_name.c_str());
95 if (event_handle) {
96 ::SetEvent(event_handle);
97 ::CloseHandle(event_handle);
98 }
99}
100
101} //namespace webdriver

Callers 2

ProcessRequestMethod · 0.45
ShutDownSessionMethod · 0.45

Calls 1

LOGClass · 0.50

Tested by

no test coverage detected