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