Skip to content

Commit

Permalink
[GDAL provider] Improve UI responsiveness affected by 3b2b98b
Browse files Browse the repository at this point in the history
The consequence of sharing the same GDAL object and protecting them under mutex is that
instanciating a new pipeline for job preview background can actually be blocked for
a long time, and thus causing the UI to be totally non-responsive

So change the strategy to use a global cache of GDAL datasets that can be reused by
cloned GDAL providers, while still maintaining the number of opened datasets to
a reasonable amount.
  • Loading branch information
rouault committed Nov 15, 2017
1 parent 3b2b98b commit 670764d
Show file tree
Hide file tree
Showing 2 changed files with 363 additions and 67 deletions.
Loading

0 comments on commit 670764d

Please sign in to comment.