diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-03-21 18:33:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-22 11:57:46 +0100 |
commit | bc22a790b951da3364daa8f7c45dfc9547a8f717 (patch) | |
tree | d512998b8fca8e5791019cd0d16a024286fc9e24 /framework/util | |
parent | b1af864e84166a062d3c41da458a429914eeda89 (diff) |
use single-use attribute for AutoRecovery
instead of rtl::Instance, which means it will get
cleaned up when UNO shuts down
Change-Id: I53c722e4126f5386b3cd43eee09ccfe4656ebd9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112851
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 cc5fcfb13faa..aad750e76c72 100644 --- a/framework/util/fwk.component +++ b/framework/util/fwk.component @@ -28,7 +28,8 @@ <service name="com.sun.star.ui.ToolBarFactory"/> </implementation> <implementation name="com.sun.star.comp.framework.AutoRecovery" - constructor="com_sun_star_comp_framework_AutoRecovery_get_implementation"> + constructor="com_sun_star_comp_framework_AutoRecovery_get_implementation" + single-instance="true"> <service name="com.sun.star.frame.AutoRecovery"/> <singleton name="com.sun.star.frame.theAutoRecovery"/> </implementation> |