Skip to content

Commit 312c688

Browse files
committed
Remove redundant mutex locks
1 parent ac0a188 commit 312c688

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/auth/basic/qgsauthbasicmethod.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ bool QgsAuthBasicMethod::updateNetworkRequest( QNetworkRequest &request, const Q
6767
const QString &dataprovider )
6868
{
6969
Q_UNUSED( dataprovider )
70-
QMutexLocker locker( &mMutex );
7170
QgsAuthMethodConfig mconfig = getMethodConfig( authcfg );
7271
if ( !mconfig.isValid() )
7372
{

src/auth/esritoken/qgsauthesritokenmethod.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ QString QgsAuthEsriTokenMethod::displayDescription() const
5959
bool QgsAuthEsriTokenMethod::updateNetworkRequest( QNetworkRequest &request, const QString &authcfg,
6060
const QString &dataprovider )
6161
{
62-
Q_UNUSED( dataprovider )
63-
QMutexLocker locker( &mMutex );
62+
Q_UNUSED( dataprovider );
6463
QgsAuthMethodConfig mconfig = getMethodConfig( authcfg );
6564
if ( !mconfig.isValid() )
6665
{

0 commit comments

Comments
 (0)