(self)
| 204 | self._executor.shutdown(wait=False) |
| 205 | |
| 206 | def __del__(self) -> None: |
| 207 | # Safety net: if close() was never called, still shut down the executor we created so its worker thread does |
| 208 | # not outlive the lock. A caller-supplied executor is left untouched. shutdown(wait=False) never blocks. |
| 209 | if getattr(self, "_owns_executor", False): |
| 210 | self._executor.shutdown(wait=False) |
| 211 | |
| 212 | |
| 213 | __all__ = [ |
nothing calls this directly
no outgoing calls
no test coverage detected