Skip to content

Commit

Permalink
Split QgsVectorFileWriter writeAsVectorFormat into two methods
Browse files Browse the repository at this point in the history
to allow correct thread-safe usage

There is now a prepare method, which must be run on the main
thread and which prepopulates feature iterators and clones
renderers, and a separate write method which is safe to
execute on background threads (e.g. tasks)

Fixes #18516
  • Loading branch information
nyalldawson committed Mar 29, 2018
1 parent 5ecb7cc commit 95d2a27
Show file tree
Hide file tree
Showing 4 changed files with 220 additions and 141 deletions.

0 comments on commit 95d2a27

Please sign in to comment.