summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/task_manager_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/task_manager_mac.mm')
-rw-r--r--chrome/browser/cocoa/task_manager_mac.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/task_manager_mac.mm b/chrome/browser/cocoa/task_manager_mac.mm
index b4cee66..65241d2 100644
--- a/chrome/browser/cocoa/task_manager_mac.mm
+++ b/chrome/browser/cocoa/task_manager_mac.mm
@@ -195,6 +195,12 @@ class SortHelper {
[tableView_ sizeToFit];
}
+- (void)dealloc {
+ [tableView_ setDelegate:nil];
+ [tableView_ setDataSource:nil];
+ [super dealloc];
+}
+
// Adds a column which has the given string id as title. |isVisible| specifies
// if the column is initially visible.
- (NSTableColumn*)addColumnWithId:(int)columnId visible:(BOOL)isVisible {