Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

more strongSelf to avoid potential ref cycle warnings.

  • Loading branch information...
commit 65d0d2baf951425839f2f77c17138ab1784d29a3 1 parent 03dc132
Zach Drayer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 WWDCDownloader/WWDCWebsiteInteractionController.m
View
4 WWDCDownloader/WWDCWebsiteInteractionController.m
@@ -122,9 +122,9 @@ - (IBAction) download:(id) sender {
[unorderedListElement.children wwdc_enumerateObjectsUsingBlock:^(DOMObject *listObject, unsigned listIndex, BOOL *stopListEnumeration) {
__strong typeof(weakSelf) strongSelf = weakSelf;
if (strongSelf->_loggedIn) {
- [self findDownloadsFromDOMLIElement:(DOMHTMLLIElement *)listObject];
+ [strongSelf findDownloadsFromDOMLIElement:(DOMHTMLLIElement *)listObject];
} else {
- [self loginFromDOMLIElement:(DOMHTMLLIElement *)listObject];
+ [strongSelf loginFromDOMLIElement:(DOMHTMLLIElement *)listObject];
*stopListEnumeration = YES;
}
Please sign in to comment.
Something went wrong with that request. Please try again.