mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
The lock file stored process.pid (Node server PID) which is always alive. When releaseInstallLock wasn't called (e.g., error path), the lock persisted forever, making the bundle stuck in "installing" and blocking all future installs. Fix: remove PID from lock entirely. Use simple file existence as mutex. On server startup, unconditionally delete any lock file.