From 210cc61ee4191465805a770881235c677041f929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 8 Mar 2026 11:11:07 +0100 Subject: New upstream version 0.32.15 --- src/Tombstone.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Tombstone.vala') 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(); -- cgit v1.2.3