Skip to content

Commit 0559567

Browse files
committed
Merge pull request #2079 from manisandro/mutex
Add missing mutex lock
2 parents 61698fc + 100de72 commit 0559567

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsconnectionpool.h

+2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ class QgsConnectionPoolGroup
117117
return 0;
118118
}
119119

120+
connMutex.lock();
120121
acquiredConns.append( c );
122+
connMutex.unlock();
121123
return c;
122124
}
123125

0 commit comments

Comments
 (0)