Skip to content

Commit

Permalink
Support the moving of Shared Folder Links to other folders (#3052)
Browse files Browse the repository at this point in the history
* 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 #3051 and committed to 'master' via 5a20154
  • Loading branch information
abraunegg authored Jan 19, 2025
1 parent 27a25be commit 4418d0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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

0 comments on commit 4418d0d

Please sign in to comment.