[QGIS-Developer] QgsProjectStyleSettings styles.db remain open after QgsProject::clear()

Nyall Dawson nyall.dawson at gmail.com
Mon Jun 12 04:48:53 PDT 2023


On Mon, 12 June 2023, 8:32 pm Radim Blazek, <radim.blazek at gmail.com> wrote:

> QCoreApplication.sendPostedEvents(None, QEvent.DeferredDelete) does the
> job.
>

https://github.com/qgis/QGIS/pull/53400 will have helped here too! (At this
stage I'm not planning on backporting that though)

Nyall

>
> Thanks
> Radim
>
> On Tue, Apr 18, 2023 at 10:38 AM Nyall Dawson <nyall.dawson at gmail.com>
> wrote:
> > You can safely execute the event loop with DeferredDelete to only
> cleanup of this object without the danger of other event loop mess.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20230612/88955d93/attachment.htm>


More information about the QGIS-Developer mailing list