diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-29 10:03:59 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-06 07:44:54 -0500 |
| commit | 8c72077febaea485200adcf1e9f615902e930def (patch) | |
| tree | 13fe30db88d40d1554343b40cb33e9dcf846db7d /src/env.h | |
| parent | 18b438cf27a552e69e984bfee63187b6471682ab (diff) | |
replaced uilock by a progress callback in spawn
waiting for process now gets the whole process tree to find an interesting process
Diffstat (limited to 'src/env.h')
| -rw-r--r-- | src/env.h | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -13,23 +13,6 @@ class WindowsInfo; class Metrics; -// used by HandlePtr, calls CloseHandle() as the deleter -// -struct HandleCloser -{ - using pointer = HANDLE; - - void operator()(HANDLE h) - { - if (h != INVALID_HANDLE_VALUE) { - ::CloseHandle(h); - } - } -}; - -using HandlePtr = std::unique_ptr<HANDLE, HandleCloser>; - - // used by DesktopDCPtr, calls ReleaseDC(0, dc) as the deleter // struct DesktopDCReleaser |
