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-01-10 14:19:50 +0100
commit073c2fb84b3ead86d2f2b28cbd737bb936cc0696 (patch)
treed3d832cab0e828a1b2ce76a9f858296c4f74fdb8 /macosx/HBController.m
parentefcd5b85b03145964779b8a7700558e44213b8d8 (diff)
MacGui: improve security scoped resources management. Fixes #2566.
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)