MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / detach

Method detach

lib/tiny-process/process_win.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 CloseHandle(handle);
23 }
24 HANDLE detach() noexcept {
25 HANDLE old_handle = handle;
26 handle = INVALID_HANDLE_VALUE;
27 return old_handle;
28 }
29 operator HANDLE() const noexcept { return handle; }
30 HANDLE *operator&() noexcept { return &handle; }
31

Callers 2

openMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected