1

Resolved

Network Session Does Not Dispose after Game Quit

description

Due to the rearranging of networking code, the session does not end when returning to the main menu, causing the program to be unable to start another, new session. The current workaround is that the entire game must be restarted to clear the first network session. I attempted to pass the quit menu a reference to the session to call the Dispose() method on it, but that caused a runtime crash because the server was still trying to read packets when I disposed the session. Not to make more work for Richard, but I will need his extra networking knowledge to fix this.

comments

stuffedsloth66 wrote Mar 31, 2008 at 3:45 PM

With new architecture including lobby screen and session connection screen, the session is now closed when it is supposed to be ended. This issue is now closed.

wrote Mar 31, 2008 at 3:45 PM

stuffedsloth66 wrote Mar 31, 2008 at 3:47 PM

The new addition of the session type and lobby screens lent to a new architecture that no longer has this issue; sessions are properly closed when leaving the game as host. This item is now closed.

wrote Jan 21, 2013 at 6:24 PM

wrote May 1, 2013 at 4:24 AM

wrote Jun 4, 2013 at 1:53 AM