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

Method OnDestroy

cpp/iedriver/IECommandExecutor.cpp:127–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127LRESULT IECommandExecutor::OnDestroy(UINT uMsg,
128 WPARAM wParam,
129 LPARAM lParam,
130 BOOL& bHandled) {
131 LOG(DEBUG) << "Entering IECommandExecutor::OnDestroy";
132
133 LOG(DEBUG) << "Clearing managed element cache";
134 this->managed_elements_->Clear();
135 delete this->managed_elements_;
136 LOG(DEBUG) << "Closing command handler repository";
137 delete this->command_handlers_;
138 LOG(DEBUG) << "Closing element finder";
139 delete this->element_finder_;
140 LOG(DEBUG) << "Closing input manager";
141 delete this->input_manager_;
142 LOG(DEBUG) << "Closing proxy manager";
143 delete this->proxy_manager_;
144 LOG(DEBUG) << "Closing browser factory";
145 delete this->factory_;
146 LOG(DEBUG) << "Posting quit message";
147 ::PostQuitMessage(0);
148 LOG(DEBUG) << "Leaving IECommandExecutor::OnDestroy";
149 return 0;
150}
151
152LRESULT IECommandExecutor::OnSetCommand(UINT uMsg,
153 WPARAM wParam,

Callers

nothing calls this directly

Calls 2

LOGClass · 0.50
ClearMethod · 0.45

Tested by

no test coverage detected