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

* Implement Feature Request #2824 to support the moving of Shared Folder Links to other folders
* Be consistent in log output for Personal Accounts, despite personal accounts not supporting relocatable Shared Folder links
* Update /delta generation message to include the driveId
* Code / Technical change was merged into https://github.com/abraunegg/onedrive/pull/3051 and committed to 'master' via 5a20154726
This commit is contained in:
abraunegg 2025-01-20 10:48:09 +11:00 committed by GitHub
commit 4418d0d636
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -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) {

View file

@ -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();
}