mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Turns out project locks would get created and only stick around for a short duration as the default move constructor was letting the og object free the lock. But if you crashed kicad or managed something weird, you can get a lock file with no override prompt which also creates confusion as some stuff gets set read only. So lets just fix this up. - Implement move constructor on lockfile so that the old object will no longer free the lockfile - Move lock ownership to the project itself, just slightly less weird to handle for the lock override - Implement the override lock prompt