Closes a Job Object handle, tolerating one that is already closed.
(job: object)
| 263 | |
| 264 | |
| 265 | def _close_job_handle(job: object) -> None: |
| 266 | """Closes a Job Object handle, tolerating one that is already closed.""" |
| 267 | if win32api and pywintypes: |
| 268 | with suppress(pywintypes.error): |
| 269 | win32api.CloseHandle(job) |
no outgoing calls
no test coverage detected