Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor formatting cleanup

  • Loading branch information...
commit 257b4a4e7e0846592febdd2694f13c2dfd4cfc67 1 parent 455a681
@Machx authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 Source/CWTask.m
View
8 Source/CWTask.m
@@ -278,6 +278,14 @@ - (void) launchTaskOnQueue:(NSOperationQueue *)queue
[[NSOperationQueue mainQueue] addOperationWithBlock:^{
block (resultsString, taskError);
}];
+ NSError * taskError;
+ NSString * resultsString = nil;
+
+ resultsString = [self launchTask:&taskError];
+
+ [[NSOperationQueue mainQueue] addOperationWithBlock:^{
+ block (resultsString, taskError);
+ }];
}];
}
Please sign in to comment.
Something went wrong with that request. Please try again.