Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8487e8b

Browse files
author
Jim Puls
committed
Fix a small deadlock.
1 parent39d5d77 commit8487e8b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
xcuserdata
2+
.DS_Store

‎assetgen/AGCatalogParser.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ + (instancetype)assetCatalogAtURL:(NSURL *)url;
2626
{
2727
AGCatalogParser *parser = [selfnew];
2828

29+
NSLog(@"Starting catalog for url%@", url);
30+
2931
parser.rootURL = url;
3032
parser.catalogName = [url.lastPathComponentstringByDeletingPathExtension];
3133
parser.classPrefix =@"";
@@ -37,7 +39,6 @@ - (void)startWithCompletionHandler:(dispatch_block_t)completionBlock;
3739
{
3840
dispatch_group_t dispatchGroup =dispatch_group_create();
3941
dispatch_queue_t dispatchQueue =dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT,0);
40-
dispatch_queue_t returnQueue =dispatch_get_current_queue();
4142
dispatch_async(dispatchQueue, ^{
4243
[selffindImageSetURLs];
4344

@@ -54,7 +55,7 @@ - (void)startWithCompletionHandler:(dispatch_block_t)completionBlock;
5455

5556
[selfoutputCode];
5657

57-
dispatch_async(returnQueue,completionBlock);
58+
completionBlock();
5859
});
5960
}
6061

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp