Lua ScriptingAdvancedStop losing saves on shutdown with BindToClose and a parallel flush
Your player leaves the game at shutdown and comes back with the progress of ten minutes ago. The fix is three pieces together: an authoritative in-memory cache, a session lock through UpdateAsync, and a parallel flush with a barrier inside BindToClose.
Gustavo Cantino16 min read

