diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2026-03-08 11:11:41 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2026-03-08 11:11:41 +0100 |
| commit | 360a72d4363f513a3acaebb084ab39fe3ff22832 (patch) | |
| tree | b3d41d58cbb1d52e3871e40258539ac760cd265e /src/Tombstone.vala | |
| parent | fa4d70ea3101f5a70b33977ba9b7673ddfb36762 (diff) | |
| parent | 1ef9b86df1cca6dde71529f03b66407953d000c9 (diff) | |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/Tombstone.vala')
| -rw-r--r-- | src/Tombstone.vala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Tombstone.vala b/src/Tombstone.vala index 23cd984..2cae0c0 100644 --- a/src/Tombstone.vala +++ b/src/Tombstone.vala @@ -112,7 +112,10 @@ public class TombstoneSourceCollection : DatabaseSourceCollection { private async void async_scan(DirectoryMonitor? monitor, Cancellable? cancellable) { // search through all tombstones for missing files, which indicate the tombstone can go away Marker marker = start_marking(); - foreach (DataObject object in get_all()) { + + // There is an issue with modifying this list while this loop here is iterating it, source unknown + // Getting a copy of the list to work-around this (https://gitlab.gnome.org/GNOME/shotwell/-/issues/181) + foreach (DataObject object in get_dataset_copy().get_all()) { Tombstone tombstone = (Tombstone) object; File file = tombstone.get_file(); |
