Hi Luke,
to my experience the "RuntimeError: wrapped C/C++ object of type
QgsVectorLayer has been deleted" is raised when the C++ QgsVectorLayer
has been deleted by a parent class.
This is often a QgsMapLayerStore, for example the
QgsProject.instance().mapLayerStore(), from which a layer gets
.
From: QGIS-Developer On Behalf Of
Benjamin Jakimow via QGIS-Developer
Sent: Thursday, May 4, 2023 3:21 AM
To: qgis-developer@lists.osgeo.org
Subject: Re: [QGIS-Developer] RuntimeError: wrapped C/C++ object of type
QgsVectorLayer has been deleted
Hi Luke,
to my experience the "Runtime
t: Re: [QGIS-Developer] RuntimeError: wrapped C/C++ object of type
QgsVectorLayer has been deleted
Hi Luke,
to my experience the "RuntimeError: wrapped C/C++ object of type QgsVectorLayer
has been deleted" is raised when the C++ QgsVectorLayer has been deleted by a
parent