DMP Server crashing on disconnect
81ninja opened this issue ยท 1 comments
Environment
- OS: Windows Server 2012 R2
Description
Ever since KSP 1.3.0 / DMP 0.2.4.3, the server is sometimes crashing after the last player disconnects.
Additional Info
[19:51:42][DEBUG] : Saving 1 scenario modules from *****
[19:58:33][INFO] : Removed 0 debris
[20:00:20][INFO] : Disconnecting client *****, endpoint *****, Connection timed out
[20:00:20][DEBUG] : Online players is now: 0, connected: 0
[20:00:20][ERROR] : Fatal error thrown, exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at DarkMultiPlayerServer.Messages.WarpControl.DisconnectPlayer(ClientObject client)
at DarkMultiPlayerServer.ClientHandler.DisconnectClient(ClientObject client)
at DarkMultiPlayerServer.Messages.Heartbeat.CheckHeartBeat(ClientObject client)
at DarkMultiPlayerServer.ClientHandler.ThreadMain()
[20:00:20][INFO] : Shutting down - Crashed!
[20:00:20][INFO] : Stopping HTTP server...
[20:00:20][DEBUG] : Stopping reporter
[20:00:20][INFO] : Goodbye!