diff options
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/component_context.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx index b64d8b624849..b2c4cf4d5112 100644 --- a/cppuhelper/source/component_context.cxx +++ b/cppuhelper/source/component_context.cxx @@ -400,12 +400,12 @@ void ComponentContext::disposing() t_map::iterator const iEnd( m_map.end() ); for ( ; iPos != iEnd; ++iPos ) { - ContextEntry& rEntry = iPos->second; - // service manager disposed separately if (!m_xSMgr.is() || !iPos->first.startsWith( SMGR_SINGLETON )) { + ContextEntry& rEntry = iPos->second; + if (rEntry.lateInit) { // late init |