mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-22 07:36:36 +02:00
workaround for segfault in std.net.curl.Curl.shutdown() on exit
This commit is contained in:
parent
9a9137ea16
commit
89452985ec
|
@ -143,6 +143,9 @@ void main(string[] args)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// workaround for segfault in std.net.curl.Curl.shutdown() on exit
|
||||
onedrive.http.shutdown();
|
||||
}
|
||||
|
||||
// try to synchronize the folder three times
|
||||
|
|
|
@ -35,7 +35,7 @@ final class OneDriveApi
|
|||
private string clientId, clientSecret;
|
||||
private string refreshToken, accessToken;
|
||||
private SysTime accessTokenExpiration;
|
||||
private HTTP http;
|
||||
/* private */ HTTP http;
|
||||
|
||||
void delegate(string) onRefreshToken; // called when a new refresh_token is received
|
||||
|
||||
|
|
Loading…
Reference in a new issue