[skip ci] Small refactor

This commit is contained in:
Brahim Hadriche committed 2025-06-20 09:20:49 -04:00
1 parent a49f7e8d99
commit 63f8ba8617
10 files changed
+21 -30

No files matched your search

@@ -228,8 +228,8 @@ function InitContent() as void
}
callback = JobSystem.CreateCallback(OnVideoRowListContentJobDone)
JobSystem.QueueJob(m.jobQueue, Jobs.VideoRowListContentJob, input, callback)
m.pendingLoadJobs[callback.id] = { callback: callback }
JobSystem.QueueJob(m.jobQueue, Jobs.VideoRowListContentJob, input, callback)
end function
function CancelCurrentJobs()
@@ -316,8 +316,8 @@ function LoadRowContent(contentNode as object) as void
}
callback = JobSystem.CreateCallback(OnVideoRowListRowContentJobDone)
JobSystem.QueueJob(m.jobQueue, Jobs.VideoRowListRowContentJob, input, callback)
m.pendingLoadJobs[callback.id] = { callback: callback, content: contentNode }
JobSystem.QueueJob(m.jobQueue, Jobs.VideoRowListRowContentJob, input, callback)
end function
function OnVideoRowListRowContentJobDone(event as object) as void