Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GDAL provider] Improve UI responsiveness affected by 3b2b98b
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
Showing 2 changed files with 363 additions and 67 deletions.