diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2019-01-28 17:56:39 +0100 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-01-29 12:19:57 +0100 |
commit | 48c6f4e0885976f9d8ccbffc5088f37bb5f1b9f0 (patch) | |
tree | 3e0a357510cea14faa91c67eba5c326f4a81cb8a /vcl/Module_vcl.mk | |
parent | 577a9708ea9594d60b66c1c71d24175c66d24096 (diff) |
framework: avoid crashing in ~HandlerCFGAccess() in atexit()
Commit d587931fba77246db3a2ccc6ab61ca77446d23f4 changed
HandlerCache::s_pConfig to a unique_ptr, which may now crash on
shutdown because it's a utl::ConfigItem and by atexit() time the
configmgr is long gone.
Due to the HandlerCache::m_nRefCount, the crash probably only happens
in case of an unclean shutdown, but we don't know whether this can
happen in practice or not, so just avoid crashing on shutdown.
Change-Id: Ifd2b782aa5592c344d1bc85acaa434c3f2a69b60
Reviewed-on: https://gerrit.libreoffice.org/67029
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'vcl/Module_vcl.mk')
0 files changed, 0 insertions, 0 deletions