Lock about window before deleting it on destruction

This fixes #9543
This commit is contained in:
John Scipione 2013-02-11 12:55:15 -05:00
parent eaa6b633db
commit 19ec4667bc
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ PowerStatusView::PowerStatusView(BMessage* archive)
PowerStatusView::~PowerStatusView()
{
if (fAboutWindow != NULL)
if (fAboutWindow != NULL && fAboutWindow->Lock())
fAboutWindow->Quit();
}