Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19074 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2f8e7a3a4d
commit
7dfa04527c
@ -173,13 +173,11 @@ ServerApp::~ServerApp()
|
||||
fWindowListLock.Lock();
|
||||
}
|
||||
|
||||
// first, make sure our monitor thread doesn't
|
||||
for (int32 i = 0; i < fBitmapList.CountItems(); i++) {
|
||||
for (int32 i = fBitmapList.CountItems(); i-- > 0;) {
|
||||
gBitmapManager->DeleteBitmap(static_cast<ServerBitmap *>(fBitmapList.ItemAt(i)));
|
||||
}
|
||||
|
||||
int32 pictureCount = fPictureList.CountItems();
|
||||
for (int32 i = 0; i < pictureCount; i++) {
|
||||
for (int32 i = fPictureList.CountItems(); i-- > 0;) {
|
||||
delete (ServerPicture*)fPictureList.ItemAtFast(i);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user