cid#1608448 Data race condition
drop mutex, only allowed to be called from ctor Change-Id: I1878cf368caacafdcee96a7112a6cc768ce87520 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174207 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
@@ -45,13 +45,9 @@ void BaseContainer::init(const OUString&
|
||||
const css::uno::Sequence< OUString >& lServiceNames ,
|
||||
FilterCache::EItemType eType )
|
||||
{
|
||||
// SAFE ->
|
||||
std::unique_lock aLock(m_aMutex);
|
||||
|
||||
m_sImplementationName = sImplementationName;
|
||||
m_lServiceNames = lServiceNames ;
|
||||
m_eType = eType ;
|
||||
// <- SAFE
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user