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

Radim Blazek radim.blazek at gmail.com
Mon Jun 12 03:32:40 PDT 2023


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

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.


More information about the QGIS-Developer mailing list