From ea3ee846b57be4df82378df345cce646aa7feca9 Mon Sep 17 00:00:00 2001 From: abraunegg Date: Wed, 31 Dec 2025 06:42:27 +1100 Subject: [PATCH] Update PR * Remove logging from functions --- src/curlWebsockets.d | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/curlWebsockets.d b/src/curlWebsockets.d index a90426e2..af0a9d62 100644 --- a/src/curlWebsockets.d +++ b/src/curlWebsockets.d @@ -92,11 +92,10 @@ public: } ~this() { + // No logging output in ~this() if (curl !is null) { - logCurlWebsocketOutput("Cleaning up an instance of a CurlWebSocket object accessing libcurl for HTTP operations"); curl_easy_cleanup(curl); curl = null; - logCurlWebsocketOutput("Cleaned up an instance of a CurlWebSocket object accessing libcurl for HTTP operations"); } websocketConnected = false; } @@ -264,11 +263,10 @@ public: // Cleanup curl handler void cleanupCurlHandle() { + // No logging output for this function if (curl !is null) { - logCurlWebsocketOutput("Cleaning up an instance of a CurlWebSocket object accessing libcurl for HTTP operations"); curl_easy_cleanup(curl); curl = null; - logCurlWebsocketOutput("Cleaned up an instance of a CurlWebSocket object accessing libcurl for HTTP operations"); } }