Merge pull request #8031 from juhaylinen/fix-tcpserver

Fix TCPServer::accept()
pull/8119/head
Anna Bridge 2018-09-13 13:09:55 +01:00 committed by GitHub
commit d6ccf46bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ TCPServer::~TCPServer()
nsapi_error_t TCPServer::accept(TCPSocket *connection, SocketAddress *address)
{
_lock.lock();
nsapi_error_t ret;
while (true) {