Forcibly break the lock by removing the lock file, regardless of who holds it.
(self)
| 143 | return False |
| 144 | |
| 145 | def break_lock(self) -> None: |
| 146 | """Forcibly break the lock by removing the lock file, regardless of who holds it.""" |
| 147 | with suppress(OSError): |
| 148 | Path(self.lock_file).unlink() |
| 149 | |
| 150 | def _release(self) -> None: |
| 151 | fd = self._context.lock_file_fd |
no outgoing calls