mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-15 20:25:18 +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
|
// try to synchronize the folder three times
|
||||||
|
|
|
@ -35,7 +35,7 @@ final class OneDriveApi
|
||||||
private string clientId, clientSecret;
|
private string clientId, clientSecret;
|
||||||
private string refreshToken, accessToken;
|
private string refreshToken, accessToken;
|
||||||
private SysTime accessTokenExpiration;
|
private SysTime accessTokenExpiration;
|
||||||
private HTTP http;
|
/* private */ HTTP http;
|
||||||
|
|
||||||
void delegate(string) onRefreshToken; // called when a new refresh_token is received
|
void delegate(string) onRefreshToken; // called when a new refresh_token is received
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue