(self)
| 108 | return winproxy.WaitForSingleObject(self.handle, timeout) |
| 109 | |
| 110 | def __del__(self): |
| 111 | # sys.path is not None -> check if python shutdown |
| 112 | if hasattr(sys, "path") and sys.path is not None and hasattr(self, "_handle") and self._handle: |
| 113 | # Prevent some bug where dbgprint might be None when __del__ is called in a closing process |
| 114 | dbgprint("Closing Handle {0} for {1}".format(hex(self._handle), self), "HANDLE") if dbgprint is not None else None |
| 115 | self._close_function(self._handle) |
nothing calls this directly
no outgoing calls
no test coverage detected