Closed martentamerius closed 8 years ago
Fixed the TCPConnectionHandler's infinite loop to be able to stop when the current thread is being interrupted. Also removed an unnecessary try/catch block because connection.close() already catches exceptions.
TCPConnectionHandler
connection.close()
Note: this pull request was using the wrong line endings. Will first correct that and then issue a new pull request.
Fixed the
TCPConnectionHandler
's infinite loop to be able to stop when the current thread is being interrupted. Also removed an unnecessary try/catch block becauseconnection.close()
already catches exceptions.