anhstudios/swganh — Issue #203: Unhandled exception when disconnecting an unconnected client
Author: JohnShandy
Created: 2012-03-05 20:47:06+00:00
State: open

It seems as though, when a client thinks it's connected but isn't (due to a server restart), and then disconnects via a player clicking "Disconnect" from the game menus, it causes the (restarted) server to throw an unhandled exception.

*Steps for duplication*
1. Start debugging in Visual Studio
2. Login and zone in with at least one SWGANH Client
3. Stop debugging in Visual Studio
4. While the client has not yet declared a loss of connection to the swganh server, start debugging in Visual Studio again.
5. With the server running again, switch to the SWGANH Client window and use the menus to disconnect from the server.
6. Witness, either immediately or with a slight delay, Visual Studio throw the following unhandled exception.

*Exception*

Unhandled exception at at 0x75DAD36F in swganh.exe: Microsoft C++ exception: std::out_of_range at memory location 0x060DF5AC.