mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
Update curlWebsockets.d
* Remove unsafe call
This commit is contained in:
parent
f035923505
commit
7b1b65b9f4
1 changed files with 1 additions and 5 deletions
|
|
@ -252,11 +252,7 @@ public:
|
|||
auto rc = sendAll(frame);
|
||||
// Even if sending fails, cleanup below so we don’t leak.
|
||||
collectException(logCurlWebsocketOutput("Sending RFC6455 Close (code=" ~ to!string(code) ~ ")"));
|
||||
// Clean up curl handle
|
||||
if (curl !is null) {
|
||||
curl_easy_cleanup(curl);
|
||||
curl = null;
|
||||
}
|
||||
// Flag we are no longer connected with the websocket
|
||||
websocketConnected = false;
|
||||
return rc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue