summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-01-10 14:19:50 +0100
committerDamiano Galassi <[email protected]>2020-03-30 14:37:59 +0200
commit8758e5f2949fbbb13c66f653f0310e0bced2c8bf (patch)
treea77cf21ac06893a005d9d9e7cace118a46fb008b /macosx/HBController.m
parenta95b4c1e1df867d717d3455bd311da9463a01db4 (diff)
MacGui: improve security scoped resources management. Fixes #2566.
(cherry picked from commit 073c2fb84b3ead86d2f2b28cbd737bb936cc0696)
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 9f2194f20..0a23528a9 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -761,6 +761,7 @@ static void *HBControllerLogLevelContext = &HBControllerLogLevelContext;
{
if (self.core.state != HBStateScanning)
{
+ [job refreshSecurityScopedResources];
[self scanURL:job.fileURL titleIndex:job.titleIdx completionHandler:^(NSArray<HBTitle *> *titles)
{
if (titles.count)