From daea125837913efc0967bdf03af1f04734aa9924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sun, 21 Jul 2024 14:00:44 +0200 Subject: [PATCH] Disable the requestHandles.size() assert in Libcurl.cpp It's getting triggered because the lifetime of some objects that own RequestHandles are not exactly deterministic, to put it lightly. I'm not dealing with those. --- src/client/http/requestmanager/Libcurl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/http/requestmanager/Libcurl.cpp b/src/client/http/requestmanager/Libcurl.cpp index af8420fcb..abae108c5 100644 --- a/src/client/http/requestmanager/Libcurl.cpp +++ b/src/client/http/requestmanager/Libcurl.cpp @@ -338,7 +338,7 @@ namespace http } WorkerPerform(); } - assert(!requestHandles.size()); + // assert(!requestHandles.size()); // TODO: enable again once the rest of the codebase is actual c++ WorkerExit(); }