-
Mike Kaganski yazdı
When an object is added to OLE objects cache, when cache is full, old objects are tried to be unloaded. This triggers notifications that cause all loaded objects to become active, and to be added to cache (moved to front). As the new object already was added to front of the cache, later activity pushes it to back, until it is the last object in cache. The cache in this process is overfilled, so each next refresh tries to unload current last OLE object. So, in the end, this effectively unloads all cached OLE objects. This patch prevents this by first unloading last object, and then adding new object to front of cache. Also, removed needless creation of reference (makes at least 200 function calls for no reason). Change-Id: Ia903f4df101971df1b0b0148320fc8e45ac1e79c Reviewed-on: https://gerrit.libreoffice.org/15772Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Michael Stahl <mstahl@redhat.com>
b717bda1
Adı |
Son kayıt (commit)
|
Son güncelleme |
---|---|---|
.. | ||
qa/embedding | ||
source | ||
test | ||
util | ||
Library_embobj.mk | ||
Library_emboleobj.mk | ||
Makefile | ||
Module_embeddedobj.mk | ||
README |