This change adds a object lock to the database code, and makes sure a user's preferences gets saved when the object is deleted. This should prevent any concurrency issues from resetting user preferences in memory.
Bonus: Added some code that fixes win32 compatibility.
This change adds a object lock to the database code, and makes sure a user's preferences gets saved when the object is deleted. This should prevent any concurrency issues from resetting user preferences in memory.
Bonus: Added some code that fixes win32 compatibility.