Skip to content
Permalink
Browse files
Split QgsVectorFileWriter writeAsVectorFormat into two methods
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

(cherry-picked from 95d2a27)
  • Loading branch information
nyalldawson committed Apr 2, 2018
1 parent d70181c commit d88ffc6
Show file tree
Hide file tree
Showing 4 changed files with 220 additions and 141 deletions.

0 comments on commit d88ffc6

Please sign in to comment.