mirror of
https://github.com/koreader/koreader
synced 2024-11-18 03:25:46 +00:00
Reset to one core (#8579)
This commit is contained in:
parent
bbc9ef65d3
commit
8b43811812
@ -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…
Reference in New Issue
Block a user