Skip to content

Commit e40c357

Browse files
Cruz Monrreal IICruz Monrreal II
authored andcommitted
Merge branch 'internetsocket' of ssh://github.com/marcemmers/mbed-os into rollup
2 parents 14a9824 + dcb97f9 commit e40c357

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/netsocket/InternetSocket.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ nsapi_error_t InternetSocket::close()
6262

6363
nsapi_error_t ret = NSAPI_ERROR_OK;
6464
if (!_socket) {
65+
_lock.unlock();
6566
return NSAPI_ERROR_NO_SOCKET;
6667
}
6768

0 commit comments

Comments
 (0)