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

Method Dispose

cpp/iedriver/HookProcessor.cpp:241–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241void HookProcessor::Dispose() {
242 LOG(TRACE) << "Entering HookProcessor::Dispose";
243 ClearBuffer();
244
245 if (this->pipe_handle_ != INVALID_HANDLE_VALUE &&
246 this->pipe_handle_ != NULL) {
247 ::CloseHandle(this->pipe_handle_);
248 this->pipe_handle_ = INVALID_HANDLE_VALUE;
249 }
250
251 if (this->hook_procedure_handle_ != NULL) {
252 this->UninstallWindowsHook();
253 this->hook_procedure_handle_ = NULL;
254 }
255}
256
257bool HookProcessor::PushData(int data_size,
258 void* pointer_to_data) {

Callers 4

~HookProcessorMethod · 0.95
SetFocusToBrowserMethod · 0.45
SimulateActionsMethod · 0.45
SimulateActionsMethod · 0.45

Calls 2

UninstallWindowsHookMethod · 0.95
LOGClass · 0.50

Tested by

no test coverage detected