mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-13 00:07:27 -05:00
Mark a method as non-fatal due to aggregate calculation thread safety issues
This commit is contained in:
parent
fd35e78ea2
commit
c9f13438f9
@ -5609,7 +5609,8 @@ void QgsVectorLayer::setAttributeTableConfig( const QgsAttributeTableConfig &att
|
||||
|
||||
QgsExpressionContext QgsVectorLayer::createExpressionContext() const
|
||||
{
|
||||
QGIS_PROTECT_QOBJECT_THREAD_ACCESS
|
||||
// called in a non-thread-safe way in some cases when calculating aggregates in a different thread
|
||||
QGIS_PROTECT_QOBJECT_THREAD_ACCESS_NON_FATAL
|
||||
|
||||
return QgsExpressionContext( QgsExpressionContextUtils::globalProjectLayerScopes( this ) );
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user