mirror of
https://github.com/transmission/transmission
synced 2025-01-31 03:12:44 +00:00
macOS fix a potential hang when updating the blocklist (#4010)
fixes potential hang when unzipping a new blocklist on macOS (#3969)
This commit is contained in:
parent
70f623f32b
commit
a8267395b2
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ BlocklistDownloader* fBLDownloader = nil;
|
||||||
NSTask* gunzip = [[NSTask alloc] init];
|
NSTask* gunzip = [[NSTask alloc] init];
|
||||||
gunzip.launchPath = @"/usr/bin/gunzip";
|
gunzip.launchPath = @"/usr/bin/gunzip";
|
||||||
gunzip.currentDirectoryPath = destinationDir.path;
|
gunzip.currentDirectoryPath = destinationDir.path;
|
||||||
gunzip.arguments = @[ @"--keep", file.path ];
|
gunzip.arguments = @[ @"--keep", @"--force", file.path ];
|
||||||
|
|
||||||
@try
|
@try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue