mirror of https://github.com/ARMmbed/mbed-os.git
When socket created using accept() is closed by calling the close() method, "delete this" is executed which triggers the destructor call on TCPSocket which in turn calls close() once again. Because _stack is already 0 this results in a hard-fault. Add a check that skips the rest of the close() method is the _stack is already 0. |
||
---|---|---|
.. | ||
test_InternetSocket.cpp | ||
unittest.cmake |