summaryrefslogtreecommitdiff
path: root/src/Tombstone.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2026-03-09 18:19:48 +0100
committerJörg Frings-Fürst <debian@jff.email>2026-03-09 18:19:48 +0100
commitb11befe1c9ea84969ebd418e96f7209b772b58d0 (patch)
tree4cee94cb12ad4dd24253c2a111b87577f50ed80d /src/Tombstone.vala
parentd048b2c970f6182a2201b5ba6c29d0d155abc22b (diff)
parent8656a544ddcf098e10df1430eecb75902dbc7999 (diff)
Merge branch 'release/debian/0.32.15-1'HEADdebian/0.32.15-1master
Diffstat (limited to 'src/Tombstone.vala')
-rw-r--r--src/Tombstone.vala5
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();