low resource handler: Clear the maintenance_in_progress flag also when
adding the cache to the maintenance queue. Not so important but more correct. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35255 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -461,12 +461,12 @@ object_cache_low_memory(void* dummy, uint32 resources, int32 level)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (cache->maintenance_resize) {
|
||||
cache->maintenance_in_progress = false;
|
||||
|
||||
if (cache->maintenance_resize)
|
||||
sMaintenanceQueue.Add(cache);
|
||||
} else {
|
||||
else
|
||||
cache->maintenance_pending = false;
|
||||
cache->maintenance_in_progress = false;
|
||||
}
|
||||
} while (cache != firstCache);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user