(self)
| 499 | _LOGGER.debug("Lock %s released on %s", lock_id, lock_filename) |
| 500 | |
| 501 | def _commit_release_if_released(self) -> None: |
| 502 | # Commit only when the backend actually unlocked (close or unlink failed after the OS unlock). If the lock is |
| 503 | # still held, keep the counter so a later release can retry. |
| 504 | if not self.is_locked: |
| 505 | self._commit_release() |
| 506 | |
| 507 | def _start_internal_method( |
| 508 | self, method: Callable[[], None] | Callable[[], Coroutine[None, None, None]] |
no test coverage detected