mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
RequestServer: Clean up the CURLM "multi handle" when client drops
Otherwise we may leak all kinds of things inside CURL.
This commit is contained in:
parent
1c61ccef40
commit
7cd6ea6f33
|
|
@ -270,6 +270,10 @@ ConnectionFromClient::ConnectionFromClient(IPC::Transport transport)
|
|||
|
||||
ConnectionFromClient::~ConnectionFromClient()
|
||||
{
|
||||
m_active_requests.clear();
|
||||
|
||||
curl_multi_cleanup(m_curl_multi);
|
||||
m_curl_multi = nullptr;
|
||||
}
|
||||
|
||||
void ConnectionFromClient::die()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user