* Release the lockfile by deleting it.
()
| 106 | * Release the lockfile by deleting it. |
| 107 | */ |
| 108 | async release(): Promise<void> { |
| 109 | try { |
| 110 | await fs.unlink(this.lockPath); |
| 111 | } catch { |
| 112 | // Ignore cleanup errors (file may not exist) |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Check if a process with the given PID is still running. |