aboutsummaryrefslogtreecommitdiff
path: root/AppKit
diff options
context:
space:
mode:
Diffstat (limited to 'AppKit')
-rw-r--r--AppKit/GTMUILocalizer.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/AppKit/GTMUILocalizer.m b/AppKit/GTMUILocalizer.m
index ffcc11d..9f252e7 100644
--- a/AppKit/GTMUILocalizer.m
+++ b/AppKit/GTMUILocalizer.m
@@ -57,6 +57,10 @@
} else {
_GTMDevLog(@"Expected an owner_ set for %@", self);
}
+ // Won't need these again, clear them.
+ owner_ = nil;
+ otherObjectToLocalize_ = nil;
+ yetAnotherObjectToLocalize_ = nil;
}
+ (NSBundle *)bundleForOwner:(id)owner {