mirror of
https://github.com/eledio-devices/thirdparty-AsyncTCPSock.git
synced 2025-10-30 16:15:40 +01:00
Scrub write mutex ptr immediately after destroying it
In order to detect possible memory corruption.
This commit is contained in:
@@ -287,6 +287,7 @@ AsyncClient::~AsyncClient()
|
||||
{
|
||||
if (_socket != -1) _close();
|
||||
vSemaphoreDelete(_write_mutex);
|
||||
_write_mutex = NULL;
|
||||
}
|
||||
|
||||
void AsyncClient::setRxTimeout(uint32_t timeout){
|
||||
|
||||
Reference in New Issue
Block a user