mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
rename runtimectl to document/canvascontext
This commit is contained in:
committed by
Frans de Jonge
parent
adb5d5a52c
commit
1605409c60
@@ -33,8 +33,8 @@ local WidgetContainer = require("ui/widget/container/widgetcontainer")
|
||||
local _ = require("gettext")
|
||||
local Screen = require("device").screen
|
||||
|
||||
local runtimectl = require("runtimectl")
|
||||
if runtimectl.should_restrict_JIT then
|
||||
local CanvasContext = require("document/canvascontext")
|
||||
if CanvasContext.should_restrict_JIT then
|
||||
require("jit").off(true, true)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user