mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
More tracing
This commit is contained in:
@@ -661,6 +661,7 @@ UIManager:scheduleIn(10.5, self.anonymousFunction)
|
||||
UIManager:unschedule(self.anonymousFunction)
|
||||
]]
|
||||
function UIManager:unschedule(action)
|
||||
logger.dbg("UIManager:unschedule:", tostring(action))
|
||||
local removed = false
|
||||
for i = #self._task_queue, 1, -1 do
|
||||
if self._task_queue[i].action == action then
|
||||
@@ -668,6 +669,7 @@ function UIManager:unschedule(action)
|
||||
removed = true
|
||||
end
|
||||
end
|
||||
logger.dbg(removed)
|
||||
return removed
|
||||
end
|
||||
dbg:guard(UIManager, 'unschedule',
|
||||
|
||||
Reference in New Issue
Block a user