There was an error while loading. Please reload this page.
1 parent d614ff3 commit 916805cCopy full SHA for 916805c
1 file changed
src/analysis/processing/qgsalgorithmdissolve.cpp
@@ -219,11 +219,16 @@ QVariantMap QgsDissolveAlgorithm::processAlgorithm( const QVariantMap ¶meter
219
// See: https://issues.qgis.org/issues/20591 - Dissolve tool failing to produce outputs
220
if ( ! result.lastError().isEmpty() && parts.count() > 2 )
221
{
222
+ if ( feedback->isCanceled() )
223
+ return result;
224
+
225
feedback->pushDebugInfo( QObject::tr( "GEOS exception: taking the slower route ..." ) );
226
result = QgsGeometry();
227
for ( const auto &p : parts )
228
229
result = QgsGeometry::unaryUnion( QVector< QgsGeometry >() << result << p );
230
231
232
}
233
234
if ( ! result.lastError().isEmpty() )
0 commit comments