Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around g_key_file_new() thread-safety problems
The first call to g_key_file_new() does some thread-unsafe initialization. Manually run that initialization from the shared library constructor to avoid crashes or heap corruption if multiple threads call openslide_detect_vendor() or openslide_open() in parallel. Fixes openslide#161.
- Loading branch information