BView: Remove old TODO comment.
The BShelf is not owned by the BView (nor the BWindow for that matter) and so must not be deleted on destruction.
This commit is contained in:
@@ -710,9 +710,6 @@ BView::~BView()
|
||||
if (fToolTip != NULL)
|
||||
fToolTip->ReleaseReference();
|
||||
|
||||
// TODO: see about BShelf! must I delete it here? is it deleted by
|
||||
// the window?
|
||||
|
||||
// we also delete all our children
|
||||
|
||||
BView* child = fFirstChild;
|
||||
|
||||
Reference in New Issue
Block a user