mirror of
				https://github.com/eledio-devices/thirdparty-AsyncTCPSock.git
				synced 2025-10-31 08:42:38 +01:00 
			
		
		
		
	Plug mutex semaphore leak
Introduced by previous commit. This prevents a leak of one mutex semaphore structure per destroyed client socket.
This commit is contained in:
		| @@ -286,6 +286,7 @@ AsyncClient::AsyncClient(int sockfd) | ||||
| AsyncClient::~AsyncClient() | ||||
| { | ||||
|     if (_socket != -1) _close(); | ||||
|     vSemaphoreDelete(_write_mutex); | ||||
| } | ||||
|  | ||||
| void AsyncClient::setRxTimeout(uint32_t timeout){ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user