Skip to content
Browse files

Destroy AboutWindow on destruction

  • Loading branch information...
1 parent c191daa commit b23f8cd41f1dcd1b6d58964b6b1ebd6594d19089 @jscipione jscipione committed Nov 13, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/apps/powerstatus/PowerStatusView.cpp
View
2 src/apps/powerstatus/PowerStatusView.cpp
@@ -77,6 +77,8 @@ PowerStatusView::PowerStatusView(BMessage* archive)
PowerStatusView::~PowerStatusView()
{
+ if (fAboutWindow != NULL)
+ fAboutWindow->Quit();
}

0 comments on commit b23f8cd

Please sign in to comment.
Something went wrong with that request. Please try again.