diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-04-02 20:20:10 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-04-04 20:21:58 +0200 |
commit | 37f39a4156069ba5f099045ce93370507d9ba215 (patch) | |
tree | 766a34801984953266024ace8d51ba89eebcf3f4 /include/vcl/TaskStopwatch.hxx | |
parent | 50f0dc8d49d52a9c8bc2079c69bd5feb150cd71a (diff) |
forcepoint#100 drop SwBorderAttrAccess to allow cache entry to be removed
for SwBorderAttr which gets deleted during this call
also includes...
Related: forcepoint#100 we don't need pAttrs for the duration of the full scope
similar to the case of
commit 6b1eae0334ba8bad7656a859695551ce51b62f95
Date: Fri May 18 08:26:14 2001 +0000
Fix #87058#: Locked boraderattribut
the SwCache object cannot be deleted if its locked, leading to a leak,
we don't need pAttrs for the entire scope here so we can defer to the
end of the scope the reacquire the lock to set pAttrs
and also includes...
Related: forcepoint#100 don't reacquire after every release
instead release when we have to, and only reacquire if necessary
before use of pAttrs
Change-Id: Ie52aab7e5933d76b0c055389798104e4d93f39e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132462
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'include/vcl/TaskStopwatch.hxx')
0 files changed, 0 insertions, 0 deletions