From a7bb348c1f01efb92f38d1b0d79050d3c4279779 Mon Sep 17 00:00:00 2001 From: John Woolsey Date: Wed, 20 Aug 2014 13:40:35 -0500 Subject: [PATCH] Removed use of localized cancelled property. --- PMConcurrency/PMFutureOperation.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/PMConcurrency/PMFutureOperation.m b/PMConcurrency/PMFutureOperation.m index e032660..54e14f2 100644 --- a/PMConcurrency/PMFutureOperation.m +++ b/PMConcurrency/PMFutureOperation.m @@ -77,8 +77,6 @@ @interface PMFutureOperation () //explicit lock @property (readwrite, nonatomic, strong) NSRecursiveLock *lock; -@property (readwrite, nonatomic, assign, getter = isCancelled) BOOL cancelled; - // The result of this operation. @property (readwrite, nonatomic, strong) PMFuture *future; @@ -189,7 +187,6 @@ - (void)cancel { [self.lock lock]; if (![self isFinished] && ![self isCancelled]) { [self willChangeValueForKey:@"isCancelled"]; - _cancelled = YES; [super cancel]; [self didChangeValueForKey:@"isCancelled"]; [self.future cancel];