office-gobmx/unotest/Library_embindtest.mk
Stephan Bergmann 50cd19debb Emscripten: Clean up SolarMutex
...before disappearing through the QApplication::exec() hole, or else the
SolarMutex would remain locked forever on the application's main thread.

This requires changing SalInstance::ReleaseYieldMutexAll() to
SalInstance::ReleaseYieldMutex(bool all).  (Further recursive locking of the
SolarMutex via SolarMutexGuard instances that would be present on the call stack
leading up to the call to QApplication::exec() would be released during the
stack unwinding, so just undo the one acquiring done in InitVCL, not all of
them.)

Change-Id: I9ef57abb7da7f840999700e4eaeeefd2da784645
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171956
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-08-18 15:10:00 +02:00

28 lines
795 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Library_Library,embindtest))
$(eval $(call gb_Library_add_exception_objects,embindtest, \
unotest/source/embindtest/embindtest \
))
$(eval $(call gb_Library_set_componentfile,embindtest,unotest/source/embindtest/embindtest,services))
$(eval $(call gb_Library_use_libraries,embindtest, \
cppu \
cppuhelper \
sal \
salhelper \
vcl \
))
$(eval $(call gb_Library_use_sdk_api,embindtest))
# vim: set noet sw=4 ts=4: