MCPcopy Create free account
hub / github.com/cutechess/cutechess / killHandle

Method killHandle

projects/lib/src/engineprocess_win.cpp:81–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void EngineProcess::killHandle(HANDLE* handle)
82{
83 if (*handle == INVALID_HANDLE_VALUE)
84 return;
85 if (*handle != NULL)
86 CloseHandle(*handle);
87 *handle = INVALID_HANDLE_VALUE;
88}
89
90void EngineProcess::cleanup()
91{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected