Skip to content

Commit

Permalink
Update MainViewController.m
Browse files Browse the repository at this point in the history
  • Loading branch information
ulukaya committed Mar 28, 2017
1 parent b1e2f43 commit 09c64e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions authentication/AuthenticationExample/MainViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,9 @@ - (void)setTitleDisplay: (FIRUser *)user {

- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
// [START remove_auth_listener]
[[FIRAuth auth] removeAuthStateDidChangeListener:_handle];
// [END remove_auth_listener]
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
Expand Down

0 comments on commit 09c64e3

Please sign in to comment.