86 |
- (void) dealloc |
- (void) dealloc |
87 |
{ |
{ |
88 |
/* |
/* |
89 |
|
* The popup must be closed here, just in case the cell goes away |
90 |
|
* while the popup is still displayed. In that case the notification |
91 |
|
* center would still send notifications to the deallocated cell. |
92 |
|
*/ |
93 |
|
[self dismissPopUp]; |
94 |
|
/* |
95 |
* We don't use methods here to clean up the selected item, the menu |
* We don't use methods here to clean up the selected item, the menu |
96 |
* item and the menu as these methods internally update the menu, |
* item and the menu as these methods internally update the menu, |
97 |
* which tries to access the target of the menu item (or of this cell). |
* which tries to access the target of the menu item (or of this cell). |