mirror of
				https://github.com/eledio-devices/thirdparty-AsyncTCPSock.git
				synced 2025-10-31 08:42:38 +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(); |     if (_socket != -1) _close(); | ||||||
|     vSemaphoreDelete(_write_mutex); |     vSemaphoreDelete(_write_mutex); | ||||||
|  |     _write_mutex = NULL; | ||||||
| } | } | ||||||
|  |  | ||||||
| void AsyncClient::setRxTimeout(uint32_t timeout){ | void AsyncClient::setRxTimeout(uint32_t timeout){ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user