Skip to content
Permalink
Browse files

Merge pull request #8660 from elpaso/bugfix-20789-QgsReadWriteLocker-…

…moab-2

Fix QgsReadWriteLocker changeMode
  • Loading branch information
elpaso committed Dec 13, 2018
2 parents 44bbf1f + b0d1506 commit a395affff812d8cbb6818a5aa72940b4e33ca145
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgsreadwritelocker.cpp
@@ -34,6 +34,8 @@ void QgsReadWriteLocker::changeMode( QgsReadWriteLocker::Mode mode )

unlock();

mMode = mode;

if ( mMode == Read )
mLock.lockForRead();
else if ( mMode == Write )

0 comments on commit a395aff

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