Skip to content
Permalink
Browse files

Fix deadlock

(cherry picked from commit de109b6)
  • Loading branch information
nyalldawson committed Dec 11, 2019
1 parent f098a5a commit 09820c478631a01cf63486dc7fa43bd57ad94d47
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgscoordinatereferencesystem.cpp
@@ -1405,7 +1405,7 @@ bool QgsCoordinateReferenceSystem::setWktString( const QString &wkt )
}
#endif

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

0 comments on commit 09820c4

Please sign in to comment.
You can’t perform that action at this time.