Destroy AboutWindow on destruction
This commit is contained in:
@@ -77,6 +77,8 @@ PowerStatusView::PowerStatusView(BMessage* archive)
|
||||
|
||||
PowerStatusView::~PowerStatusView()
|
||||
{
|
||||
if (fAboutWindow != NULL)
|
||||
fAboutWindow->Quit();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user