Open nicolas-raoul opened 10 years ago
To save the last sync datetime.
Oh, I see! Thanks for the tip :-) That sounds reasonable.
Unfortunately CmisSync crashes if config.xml is being opened by another program.
Maybe we should catch the exception, and in case of exception not save the last sync datetime (it is not vital). What do you think?
I don't have this issue with Notepad++. Yes, we could catch this exception but we must also ensure that the config.xml is saved on exit.
Yes, it is very rare, just happened to me one time.
Maybe a race condition? Like if both read exactly at the same time or something? I don't know.
Last sync datetime should be written to the SQLite database, not to the XML config file. Cheers!
When reading config.xml with another program, CmisSync crashes:
Why save at every
OnSyncComplete
?