It looks like there is at least one scenario where it'll quit if it can't open a file, which would be somewhat awkward when opening the previously opened file:
https://github.com/koreader/koreader....lua#L432-L436
In principle it shouldn't save the last file without successfully opening the document at least once, so at the very least it's unusual that you managed to reach a state where that happens.