From 83fed3fd5de71c0eed7390a3cee3de6627bec3bd Mon Sep 17 00:00:00 2001 From: AnotherTest Date: Thu, 31 Dec 2020 01:12:46 +0330 Subject: LibWeb: Don't hold on to the Download instance after it's finished Fixes* 4668 --- Libraries/LibWeb/Loader/ResourceLoader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Libraries/LibWeb') diff --git a/Libraries/LibWeb/Loader/ResourceLoader.cpp b/Libraries/LibWeb/Loader/ResourceLoader.cpp index 333237e7d9..4d3de8480a 100644 --- a/Libraries/LibWeb/Loader/ResourceLoader.cpp +++ b/Libraries/LibWeb/Loader/ResourceLoader.cpp @@ -184,6 +184,7 @@ void ResourceLoader::load(const LoadRequest& request, Function&>(download) = nullptr; }); success_callback(payload, response_headers); }; download->set_should_buffer_all_input(true); -- cgit v1.2.3