We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfa90a9 commit bbaef37Copy full SHA for bbaef37
src/providers/grass/qgsgrassvectormap.cpp
@@ -76,6 +76,7 @@ int QgsGrassVectorMap::userCount() const
76
{
77
count += layer->userCount();
78
}
79
+ QgsDebugMsg( QString( "count = %1" ).arg( count ) );
80
return count;
81
82
@@ -443,9 +444,9 @@ void QgsGrassVectorMap::closeLayer( QgsGrassVectorMapLayer * layer )
443
444
QgsDebugMsg( QString( "%1 map users" ).arg( userCount() ) );
445
if ( userCount() == 0 )
446
- // TODO: attention about dead lock, probably move to QgsGrassVectorMapStore
447
- //QgsDebugMsg( "No more map users -> close" );
448
- //close();
+ QgsDebugMsg( "No more map users -> close" );
+ // Once was probably causing dead lock; move to QgsGrassVectorMapStore?
449
+ close();
450
451
452
QgsDebugMsg( "layer closed" );
0 commit comments