mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-29 00:03:59 -04:00
QgsMapSettings instance of QgsMapCanvas may have been prematurely deleted by SIP. The KeepReference annotation will force QgsMapCanvas wrapper to keep one more ref to it, so its reference count will not go to zero while map canvas is still alive.