If a user requested the save to performed by the destructor (with auto_save) and/or periodically (with save_periodically), then it would be great if the saveToFile method (called by the user) would return an error, otherwise it may happen that there are race condition between the user code and the other threads. We had this problem with @Gianlucamilani.
If a user requested the save to performed by the destructor (with
auto_save) and/or periodically (withsave_periodically), then it would be great if thesaveToFilemethod (called by the user) would return an error, otherwise it may happen that there are race condition between the user code and the other threads. We had this problem with @Gianlucamilani.