From f320a023977e430785454e70c8c861b7c95f9a8f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 11 Jul 2002 00:41:56 +0000 Subject: [PATCH] clean up the systray and desktop lists --- src/Screen.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Screen.cc b/src/Screen.cc index cebd21c0..99224350 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -310,6 +310,12 @@ BScreen::~BScreen(void) { std::for_each(netizenList.begin(), netizenList.end(), PointerAssassin()); + while (! desktopWindowList.empty()) + removeDesktopWindow(desktopWindowList[0]); + + while (! systrayWindowList.empty()) + removeSystrayWindow(systrayWindowList[0]); + delete rootmenu; delete workspacemenu; delete iconmenu; -- 2.45.2