svx/source/tbxctrls/StylesPreviewWindow.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit bd2b39f6a710aa0d3d280b574926bd248e3416b0 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri Jun 9 15:50:07 2023 +0100 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Sat Jun 10 19:31:20 2023 +0200 global Timer has have SetStatic() set to avoid teardown problem on macOs seen as: libc++abi: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument during build-time cppunit tests Change-Id: Ida0520a5213b8c923aae884a29c9324b3a9fae16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152801 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Andras Timar <andras.ti...@collabora.com> diff --git a/svx/source/tbxctrls/StylesPreviewWindow.cxx b/svx/source/tbxctrls/StylesPreviewWindow.cxx index 283c19363932..43e1c9b4f90b 100644 --- a/svx/source/tbxctrls/StylesPreviewWindow.cxx +++ b/svx/source/tbxctrls/StylesPreviewWindow.cxx @@ -77,6 +77,7 @@ private: { // a generous 30 secs SetTimeout(30000); + SetStatic(); } virtual void Invoke() override { StylePreviewCache::gJsonStylePreviewCache.clear(); } };