ServerSocket.accept() may block indefinitely
nllsdfx opened this issue · comments
In TelnetServer, row 67. And there is a possibility that even if to set running variable to false, server may not respond until the next incoming socket is accepted. So my suggestion is to add a ServerSocket.close() in shutdown method.
@nllsdfx thanks.