i used to check if the C++ object is gone during runtime with
sip.isdeleted(object)... it's no silver bullet and i don't know if this
helps you, though.
see:
https://www.riverbankcomputing.com/static/Docs/PyQt5/api/sip/sip-module.html?highlight=isdeleted#isdeleted
Cheers
Jonas
On 31.08.2020 18:15, David Erill wrote:
Hi Richard,
Actually we have a similar issue with one of our plugins, so if anyone
can give feedback about how to handle this situation, it would be great.
I'm talking about any kind of Qgs class, not only about QgsLayerTreeGroup:
"wrapped C/C++ object of type QgsXXX has been deleted"
Missatge de Richard Duivenvoorde <[email protected]
<mailto:[email protected]>> del dia dl., 31 d’ag. 2020 a les 13:43:
On 2020-08-31 11:27, Richard Duivenvoorde wrote:
> OR is this specific case a QGIS issue, as creating a GroupLayer
maybe
> should also create a c++ grouplayer?
Forget this part: there IS a c++ grouplayer...
Regards,
Richard
_______________________________________________
QGIS-Developer mailing list
[email protected] <mailto:[email protected]>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer