Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions PMConcurrency/PMFutureOperation.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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];
Expand Down