From f0a50d230756fc0a60780d992b807f9eb82106c2 Mon Sep 17 00:00:00 2001 From: Jan-Marek Glogowski Date: Fri, 14 Feb 2020 20:24:04 +0000 Subject: tdf#127205 split Desktop::terminate process Trying to somehow keep stuff correctly alive, truned out to be rather futile. Originally I tried the same way Caolan did in the attached patch to tdf#88985, when he finally settled on adding a special terminate listener. But this is not enough to handle in-process scripted extensions, like Java, Python or even Basic macros themself. So this separates the module shutdown and SfxApplication cleanup from the rest of the terminate call. Change-Id: Ice59816080c922a17511b68afe59348a662600c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88835 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski --- offapi/com/sun/star/frame/XDesktopInternal.idl | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 offapi/com/sun/star/frame/XDesktopInternal.idl (limited to 'offapi/com') diff --git a/offapi/com/sun/star/frame/XDesktopInternal.idl b/offapi/com/sun/star/frame/XDesktopInternal.idl new file mode 100644 index 000000000000..85dcad92dd3c --- /dev/null +++ b/offapi/com/sun/star/frame/XDesktopInternal.idl @@ -0,0 +1,28 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; 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/. + */ +#ifndef __com_sun_star_frame_XDesktopInternal_idl__ +#define __com_sun_star_frame_XDesktopInternal_idl__ + +module com { module sun { module star { module frame { + +/** + * @internal + */ +interface XDesktopInternal +{ + /** clean up XDesktop instances after termination, when quit from Application::Execute + */ + void shutdown(); +}; + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ -- cgit