Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.41k stars 377 forks source link

World Save Exception #1079

Closed DaBomberNTG closed 9 years ago

DaBomberNTG commented 9 years ago

Got this exception immediately after /exit [08/08/15 17:06:34] [Server API] Warning: Plugin "TShock" has had an unhandled exception thrown by one of its ServerLeave handlers: System.ObjectDisposedException: The object was used after being disposed. at System.Threading.WaitHandle.CheckDisposed () [0x00000] in :0 at System.Threading.EventWaitHandle.Set () [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.Threading.EventWaitHandle:Set () at TShockAPI.SaveManager.EnqueueTask (TShockAPI.SaveTask task) [0x00000] in :0 at TShockAPI.SaveManager.SaveWorld (Boolean wait, Boolean resetTime, Boolean direct) [0x00000] in :0 at TShockAPI.TShock.OnLeave (TerrariaApi.Server.LeaveEventArgs args) [0x00000] in :0 at TerrariaApi.Server.HandlerCollection`1[TerrariaApi.Server.LeaveEventArgs].Invoke (TerrariaApi.Server.LeaveEventArgs args) [0x00000] in :0

2nd time I've gotten this, first time was about 1.5weeks ago. Tried to recreate by having someone dig while I /exit but no luck

tylerjwatson commented 9 years ago

If this issue persists, please open another one. Thanks.