Skip to content
Browse files

Queue: preventing cancel recursion

  • Loading branch information...
1 parent d7d0f3f commit f41f54d7f141cb5ee488cf66a7974213fc85efbf @muccy committed May 2, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 MUKNetworking/Classes/Queue/Private/Operation/MUKURLConnectionOperation_.m
View
2 MUKNetworking/Classes/Queue/Private/Operation/MUKURLConnectionOperation_.m
@@ -111,6 +111,8 @@ - (void)main {
- (void)cancel {
// Cancel connection
+ // Set operationCancelHandler_ to nil to prevent recursion
+ self.connection.operationCancelHandler_ = nil;
[self.connection cancel];
/*

0 comments on commit f41f54d

Please sign in to comment.
Something went wrong with that request. Please try again.