Revert "Clean up on socket initialization error"
This commit is contained in:
parent
ae90d6d5be
commit
08a1406917
|
@ -240,20 +240,6 @@ namespace AsterNET.FastAGI
|
|||
#endif
|
||||
throw ex;
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (serverSocket != null)
|
||||
{
|
||||
serverSocket.Close();
|
||||
serverSocket = null;
|
||||
}
|
||||
|
||||
pool.Shutdown();
|
||||
#if LOGGER
|
||||
logger.Info("AGIServer shut down.");
|
||||
#endif
|
||||
}
|
||||
|
||||
#if LOGGER
|
||||
logger.Info("Listening on " + address + ":" + port + ".");
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue