diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-03-21 13:25:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-22 16:05:07 +0100 |
commit | cd596ebc8ecc1ac303c4c3481c541cb52afa32bb (patch) | |
tree | 2e1865507f68dc347c371f07a7e53ff3ed85e604 /framework/util | |
parent | 4566bcbf03c1b7b0c1ce3a83fee1d195f0ff7059 (diff) |
use single-use attribute for PathSettings
instead of rtl::Instance, which means it will get
cleaned up when UNO shuts down
Change-Id: I90f7e0af8ce67cdcef2df7b28c7e55b1c92aad3a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112834
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/util')
-rw-r--r-- | framework/util/fwk.component | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/util/fwk.component b/framework/util/fwk.component index c20c9a30c0e2..d695aef4841a 100644 --- a/framework/util/fwk.component +++ b/framework/util/fwk.component @@ -104,7 +104,8 @@ <service name="com.sun.star.frame.PopupMenuController"/> </implementation> <implementation name="com.sun.star.comp.framework.PathSettings" - constructor="com_sun_star_comp_framework_PathSettings_get_implementation"> + constructor="com_sun_star_comp_framework_PathSettings_get_implementation" + single-instance="true"> <service name="com.sun.star.util.PathSettings"/> <singleton name="com.sun.star.util.thePathSettings"/> </implementation> |