From 6df2bb515a2f1ff2338c7df803cf3d2b04c7ee25 Mon Sep 17 00:00:00 2001 From: OV2 Date: Mon, 4 Oct 2010 17:43:45 +0200 Subject: [PATCH] Remove redundant S9xNPStopServer call (Brian Friesen) This stops the socket from being closed twice --- server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.cpp b/server.cpp index 7be5236e..ad505ad6 100644 --- a/server.cpp +++ b/server.cpp @@ -1035,7 +1035,8 @@ void S9xNPServerLoop (void *) #ifdef NP_DEBUG printf ("SERVER: Server thread exiting @%ld\n", S9xGetMilliTime () - START); #endif - S9xNPStopServer (); + // OV2: S9xNPStopServer has already been called if we get here + // S9xNPStopServer (); } bool8 S9xNPStartServer (int port)