Skip to content

Commit

Permalink
Don't use a recursive mutex
Browse files Browse the repository at this point in the history
Earlier versions of libspatialindex on linux had their own internal
(non-recursive) mutex, so to behavior consistent across different environments
we need to ensure we can survive without a non-recursive external mutex
  • Loading branch information
nyalldawson committed Dec 10, 2019
1 parent ef15d76 commit 0362665
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/qgsgenericspatialindex.h
Expand Up @@ -49,7 +49,6 @@ class CORE_EXPORT QgsGenericSpatialIndex
* Constructor for QgsGenericSpatialIndex.
*/
QgsGenericSpatialIndex()
: mMutex( QMutex::Recursive )
{
mStorageManager.reset( SpatialIndex::StorageManager::createNewMemoryStorageManager() );
mRTree = createSpatialIndex( *mStorageManager );
Expand Down

0 comments on commit 0362665

Please sign in to comment.