diff --git a/src/AsyncTCP.cpp b/src/AsyncTCP.cpp index 5871d68..cc8d33a 100644 --- a/src/AsyncTCP.cpp +++ b/src/AsyncTCP.cpp @@ -286,6 +286,7 @@ AsyncClient::AsyncClient(int sockfd) AsyncClient::~AsyncClient() { if (_socket != -1) _close(); + vSemaphoreDelete(_write_mutex); } void AsyncClient::setRxTimeout(uint32_t timeout){