Skip to content

Commit

Permalink
missing lock
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 19, 2020
1 parent 360827a commit 6eae625
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgslocalizeddatapathregistry.cpp
Expand Up @@ -76,6 +76,8 @@ void QgsLocalizedDataPathRegistry::setPaths( const QStringList &paths )

void QgsLocalizedDataPathRegistry::registerPath( const QString &path, int position )
{
QgsReadWriteLocker locker( mLock, QgsReadWriteLocker::Read );

QDir dir( path );
if ( mPaths.contains( dir ) )
return;
Expand Down

0 comments on commit 6eae625

Please sign in to comment.