mirror of https://github.com/Gnucash/gnucash
qof_session_begin (..., ..., ignore_lock=TRUE, ..., ...) will force-open a datafile currently in use in another session. This will unfortunately delete any existing .LCK file. To my knowledge there is no read-only qofsession which will leave .LCK file intact. Therefore to prevent possible dataloss, it is best to disallow opening a locked file which prevents deletion of .LCK file.pull/730/head
parent
fe09c45d17
commit
658241d3be
Loading…
Reference in new issue