* Reverted accidental part of r40114. Thanks Philippe!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40123 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2011-01-05 17:17:27 +00:00
parent c9f3b43e9f
commit 411a3062f4
+1 -2
View File
@@ -111,8 +111,7 @@ ImageCache::RetrieveImage(const entry_ref& ref, int32 page,
entry->ref = ref;
entry->page = page;
if (fThreadCount < fMaxThreadCount
|| (target != NULL && fThreadCount == fMaxThreadCount)) {
if (fThreadCount < fMaxThreadCount) {
// start a new worker thread to load the image
thread_id thread = spawn_thread(&ImageCache::_QueueWorkerThread,
"image loader", B_LOW_PRIORITY, this);