From 8758e5f2949fbbb13c66f653f0310e0bced2c8bf Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Fri, 10 Jan 2020 14:19:50 +0100 Subject: MacGui: improve security scoped resources management. Fixes #2566. (cherry picked from commit 073c2fb84b3ead86d2f2b28cbd737bb936cc0696) --- macosx/HBController.m | 1 + 1 file changed, 1 insertion(+) (limited to 'macosx/HBController.m') 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 *titles) { if (titles.count) -- cgit v1.2.3