Skip to content

Commit 4090266

Browse files
authored
Removed not needed code in yield.lua
1 parent 19b7d29 commit 4090266

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

official/yield.lua

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,6 @@ USAGE
2525
local dt = require "darktable"
2626
local yield_orig = coroutine.yield
2727

28-
-- ToDo: Test with dt master
29-
--[[
30-
if (dt.configuration.api_version_major >= 4) then
31-
coroutine.yield = function(yield_type, command)
32-
if (yield_type == "RUN_COMMAND") then
33-
dt.control.execute(command)
34-
elseif (yield_type == "FILE_READABLE") then
35-
dt.control.read(command)
36-
elseif (yield_type == "WAIT_MS") then
37-
dt.control.sleep(command)
38-
end
39-
end
40-
end
41-
]]
42-
4328
if (dt.configuration.api_version_major < 4) then
4429
dt.control = {}
4530
dt.control.execute = function(command)

0 commit comments

Comments
 (0)