cid#1555171 double-locked-pattern Data race condition
Change-Id: I2ef54091535cf511a74e19a037647d5baff9a825 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174971 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
parent
0e97c24f23
commit
013b832878
1 changed files with 0 additions and 1 deletions
|
@ -296,7 +296,6 @@ Reference< XInterface > OInstanceProvider::getInstance( const OUString & rName )
|
|||
}
|
||||
else if (_bSingleInstance)
|
||||
{
|
||||
if (! _xSingleInstance.is())
|
||||
{
|
||||
std::lock_guard aGuard( _aSingleInstanceMutex );
|
||||
if (! _xSingleInstance.is())
|
||||
|
|
Loading…
Reference in a new issue