Reset to one core (#8579)

This commit is contained in:
zwim
2022-01-16 18:19:27 +01:00
committed by GitHub
parent bbc9ef65d3
commit 8b43811812

View File

@@ -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