aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Local/FSTLocalStore.mm
diff options
context:
space:
mode:
authorGravatar Greg Soltis <gsoltis@google.com>2018-03-29 10:00:01 -0700
committerGravatar GitHub <noreply@github.com>2018-03-29 10:00:01 -0700
commit861ad89de920553ed4f25a4754ee986c9aec9162 (patch)
treea7b1cdded1d1b70e8d1c7359725bec8a46d42e3f /Firestore/Source/Local/FSTLocalStore.mm
parentd9b2d312d94387f337c95cb442b828a312bbf18c (diff)
Remove unused shutdown methods (#993)
* Drop mutation queue shutdown * Drop query cache shutdown * Drop remote document cache shutdown * Drop local store shutdown * drop newline
Diffstat (limited to 'Firestore/Source/Local/FSTLocalStore.mm')
-rw-r--r--Firestore/Source/Local/FSTLocalStore.mm7
1 files changed, 0 insertions, 7 deletions
diff --git a/Firestore/Source/Local/FSTLocalStore.mm b/Firestore/Source/Local/FSTLocalStore.mm
index a0fb5cb..74eab48 100644
--- a/Firestore/Source/Local/FSTLocalStore.mm
+++ b/Firestore/Source/Local/FSTLocalStore.mm
@@ -164,19 +164,12 @@ NS_ASSUME_NONNULL_BEGIN
self.listenSequence = [[FSTListenSequence alloc] initStartingAfter:sequenceNumber];
}
-- (void)shutdown {
- [self.mutationQueue shutdown];
- [self.remoteDocumentCache shutdown];
- [self.queryCache shutdown];
-}
-
- (FSTMaybeDocumentDictionary *)userDidChange:(const User &)user {
// Swap out the mutation queue, grabbing the pending mutation batches before and after.
FSTWriteGroup *group = [self.persistence startGroupWithAction:@"OldBatches"];
NSArray<FSTMutationBatch *> *oldBatches = [self.mutationQueue allMutationBatches];
[self.persistence commitGroup:group];
- [self.mutationQueue shutdown];
[self.garbageCollector removeGarbageSource:self.mutationQueue];
self.mutationQueue = [self.persistence mutationQueueForUser:user];