mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
Update PR
* Remove logging from functions
This commit is contained in:
parent
2709aebeb1
commit
ea3ee846b5
1 changed files with 2 additions and 4 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue