* Fixed a locking bug (there was even an assert for this); not sure if that

did any harm, but we'll see if the crashing improves.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41608 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2011-05-20 19:04:23 +00:00
parent bae34b28df
commit e7785c54d7

View File

@ -185,9 +185,9 @@ ImageCache::_QueueWorkerThread(void* _self)
self->fLocker.Lock();
self->fQueueMap.erase(std::make_pair(entry->ref, entry->page));
self->_NotifyListeners(cacheEntry, entry);
self->fLocker.Unlock();
self->_NotifyListeners(cacheEntry, entry);
delete entry;
}