Reset to one core (#8579)

reviewable/pr8673/r3
zwim 2 years ago committed by GitHub
parent bbc9ef65d3
commit 8b43811812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -428,6 +428,9 @@ function Document:renderPage(pageno, rect, zoom, rotation, gamma, render_mode, h
if not rect then
logger.warn("aborting, since we do not have a specification for that part")
-- required part not given, so abort
if hinting then
Device:enableCPUCores(1)
end
return
end
-- only render required part

Loading…
Cancel
Save