diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-05 15:58:07 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-06 06:22:22 +0100 |
commit | e1beaf844f5d6fdb0a72cdd70f2bbe29b699fe46 (patch) | |
tree | 8f2e5b34becfed6b79556801e458f71dc7eb9462 /sw/UITest_sw_uibase_shells.mk | |
parent | c377e211785c799a56cd72a9ecba9611d5993311 (diff) |
Related: tdf#163730 Release the object in separate thread
Using a local build having both commits
9f53d40fd19b22fe1bdbf64e8ce751cf53f4f517 "Related: tdf#163730 Avoid
deadlock", 2024-11-02, and 3015db08c9a8a1b29af1018044955c905c9015aa
"Related: tdf#163730 Avoid potential deadlock", 2024-11-03, I got
another deadlock (unfortunately, I didn't copy call stacks), where
main thread, holding soler mutex, called CWinClipboard::setContents,
and that tried to lock solar mutex in CMtaOleClipboard::run thread,
which released the m_foreignContent data.
This change releases m_foreignContent in a separate thread, which
has no dependencies, and so its wait wouldn't block other threads.
Change-Id: If4c486e6f3ba9201c4c9c6991992e38929ab3b81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176047
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/UITest_sw_uibase_shells.mk')
0 files changed, 0 insertions, 0 deletions