[QGIS-Developer] Locked files (layers) in Windows

Nyall Dawson nyall.dawson at gmail.com
Thu Apr 12 16:59:36 PDT 2018


On 12 April 2018 at 22:48, matteo <matteo.ghetta at gmail.com> wrote:
> Hi all,
>
> it seems impossible to delete files (shapefiles in this specific case)
> if these are loaded in QGIS even if the project with this files is closed.
>
> The only way is to restart windows.
>
> Are there any other more friendly methods?

Which version? There was a bug in 3.0.0 (fixed in 3.0.1, by
https://github.com/qgis/QGIS/commit/dff31a4a19 ) which meant the ogr
provider held a reference to a layer for 60 seconds after it was
removed from a project.

Nyall


More information about the QGIS-Developer mailing list