Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the moving of Shared Folder Links to other folders #3052

Merged
merged 13 commits into from
Jan 19, 2025
2 changes: 1 addition & 1 deletion src/itemdb.d
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ final class ItemDatabase {
return false;
}
}

// returns true if an item id is in the database
bool idInLocalDatabase(const(string) driveId, const(string) id) {
synchronized(databaseLock) {
Expand Down
5 changes: 3 additions & 2 deletions src/sync.d
Original file line number Diff line number Diff line change
Expand Up @@ -7534,13 +7534,14 @@ class SyncEngine {
} catch (OneDriveException exception) {
// Display error message
displayOneDriveErrorMessage(exception.msg, getFunctionName!({}));

// OneDrive API Instance Cleanup - Shutdown API, free curl object and memory
generateDeltaResponseOneDriveApiInstance.releaseCurlEngine();
generateDeltaResponseOneDriveApiInstance = null;

// Perform Garbage Collection
GC.collect();

// Must force exit here, allow logging to be done
forceExit();
}
Expand Down
Loading