MCPcopy Create free account
hub / github.com/COVESA/vsomeip / close

Method close

test/common/src/external/process_win.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 Handle() noexcept : handle(INVALID_HANDLE_VALUE) { }
18 ~Handle() noexcept { close(); }
19 void close() noexcept {
20 if (handle != INVALID_HANDLE_VALUE)
21 CloseHandle(handle);
22 }
23 HANDLE detach() noexcept {
24 HANDLE old_handle = handle;
25 handle = INVALID_HANDLE_VALUE;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected