clean up the systray and desktop lists
This commit is contained in:
parent
cac80d06ef
commit
f320a02397
1 changed files with 6 additions and 0 deletions
|
@ -310,6 +310,12 @@ BScreen::~BScreen(void) {
|
||||||
|
|
||||||
std::for_each(netizenList.begin(), netizenList.end(), PointerAssassin());
|
std::for_each(netizenList.begin(), netizenList.end(), PointerAssassin());
|
||||||
|
|
||||||
|
while (! desktopWindowList.empty())
|
||||||
|
removeDesktopWindow(desktopWindowList[0]);
|
||||||
|
|
||||||
|
while (! systrayWindowList.empty())
|
||||||
|
removeSystrayWindow(systrayWindowList[0]);
|
||||||
|
|
||||||
delete rootmenu;
|
delete rootmenu;
|
||||||
delete workspacemenu;
|
delete workspacemenu;
|
||||||
delete iconmenu;
|
delete iconmenu;
|
||||||
|
|
Loading…
Reference in a new issue