Skip to content

Commit

Permalink
Remove unused -[RACSignal tearDown] method
Browse files Browse the repository at this point in the history
  • Loading branch information
jspahrsummers committed Mar 13, 2013
1 parent ce7fd2f commit 87dff7c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions ReactiveCocoaFramework/ReactiveCocoa/RACSignal+Private.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@

- (void)performBlockOnEachSubscriber:(void (^)(id<RACSubscriber> subscriber))block;

- (void)tearDown;

@end
10 changes: 0 additions & 10 deletions ReactiveCocoaFramework/ReactiveCocoa/RACSignal.m
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,6 @@ - (void)invalidateGlobalRefIfNoNewSubscribersShowUp {
}];
}

- (void)tearDown {
self.tearingDown = YES;

@synchronized (self.subscribers) {
[self.subscribers removeAllObjects];
}

[self invalidateGlobalRef];
}

#pragma mark Managing Subscribers

- (void)performBlockOnEachSubscriber:(void (^)(id<RACSubscriber> subscriber))block {
Expand Down

0 comments on commit 87dff7c

Please sign in to comment.