79344962

Date: 2025-01-10 08:01:01
Score: 2
Natty:
Report link

Processing algorithms are on a separate thread than QgsInterface. Accessing interface (QgsProject.instance()) from a processing algorithm works poorly and often make Qgis crash.

You should return the layer in a sink at the end of the algorithm.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kanash