-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for lazy loading with the wand backend
The magick wand backend uses a global mutex since it isn't reentrant. It might call functions that again call functions in the backend though, when allocating space for a new file: pqiv would try to load the file if it is the first one, resulting in a dead-lock. A similar problem occurs if the user quits the program while the backend is still processing a file. This commit fixes both bugs.
- Loading branch information
1 parent
469fe63
commit 2997403
Showing
2 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters