We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5120a22 commit 6e72e21Copy full SHA for 6e72e21
PBGitHistoryController.m
@@ -488,7 +488,7 @@ - (void)closeView
488
[treeController removeObserver:self forKeyPath:@"selection"];
489
490
//Only stop these observations if the nib got loaded
491
- if ([self treeController]) {
+ if (hasViewLoaded) {
492
[repository.revisionList removeObserver:self forKeyPath:@"isUpdating"];
493
[repository removeObserver:self forKeyPath:@"currentBranch"];
494
[repository removeObserver:self forKeyPath:@"refs"];
0 commit comments