When the in-memory xml instance is flushed to the disc (DataManager.save()) the autosave file should be removed from the system. What can happen is this:
+User modifies RT instance
- AutoSaveManager detects modification and creates autosave file
+ User syncs: updates are pushed and pulled down from the database
- After sync the in-memory instance is flushed to the disc (DataManager.save())
+ Computer crashes/reboots/JVM is shutdown unexpectedly
+ User starts up the RT
- RT notices the autosave file and prompts the user
- User selects "Load autosave file"
- Now their instance and the database are out of sync in a bad way
fixed in revision 479