summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueue.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-01-10 14:19:50 +0100
committerDamiano Galassi <[email protected]>2020-01-10 14:19:50 +0100
commit073c2fb84b3ead86d2f2b28cbd737bb936cc0696 (patch)
treed3d832cab0e828a1b2ce76a9f858296c4f74fdb8 /macosx/HBQueue.m
parentefcd5b85b03145964779b8a7700558e44213b8d8 (diff)
MacGui: improve security scoped resources management. Fixes #2566.
Diffstat (limited to 'macosx/HBQueue.m')
-rw-r--r--macosx/HBQueue.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/HBQueue.m b/macosx/HBQueue.m
index 64cce2905..1f7ccbdd4 100644
--- a/macosx/HBQueue.m
+++ b/macosx/HBQueue.m
@@ -723,6 +723,8 @@ NSString * const HBQueueItemNotificationItemKey = @"HBQueueItemNotificationItemK
}
};
+ [item.job refreshSecurityScopedResources];
+
// Only scan 10 previews before an encode - additional previews are
// only useful for autocrop and static previews, which are already taken care of at this point
[self.core scanURL:item.fileURL