Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shopify_iossdk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
shopify_iossdk
Commits
4e533e96
Commit
4e533e96
authored
Jun 24, 2016
by
Brent Gulanowski
Committed by
GitHub
Jun 24, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #244 from Shopify/bugfix/cancel-dependent-operations
Execute completion blocks before marking as finished
parents
11622864
d7c36e9f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
BUYRequestOperation.m
...e Buy SDK/Mobile Buy SDK/Operations/BUYRequestOperation.m
+2
-2
No files found.
Mobile Buy SDK/Mobile Buy SDK/Operations/BUYRequestOperation.m
View file @
4e533e96
...
...
@@ -82,14 +82,14 @@ typedef void (^BUYRequestJSONCompletion)(NSDictionary *json, NSHTTPURLResponse *
-
(
void
)
finishWithJSON
:(
id
)
JSON
response
:(
NSHTTPURLResponse
*
)
response
{
[
self
finishExecution
];
self
.
completion
(
JSON
,
response
,
nil
);
[
self
finishExecution
];
}
-
(
void
)
finishWithError
:(
NSError
*
)
error
response
:(
NSHTTPURLResponse
*
)
response
{
[
self
finishExecution
];
self
.
completion
(
nil
,
response
,
error
);
[
self
finishExecution
];
}
#pragma mark - Start -
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment