Skip to content

Commit

Permalink
Fix deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 12, 2019
1 parent 187b8f3 commit de109b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgscoordinatereferencesystem.cpp
Expand Up @@ -1408,7 +1408,7 @@ bool QgsCoordinateReferenceSystem::setWktString( const QString &wkt )
}
#endif

QgsReadWriteLocker locker( *sProj4CacheLock(), QgsReadWriteLocker::Read );
QgsReadWriteLocker locker( *sProj4CacheLock(), QgsReadWriteLocker::Unlocked );
if ( !res )
{
locker.changeMode( QgsReadWriteLocker::Write );
Expand Down

0 comments on commit de109b6

Please sign in to comment.