fix: network events not processing (#591)

This commit is contained in:
MihailRis 2025-08-19 19:40:16 +03:00 committed by GitHub
parent 5aa0cc9c3e
commit eba7eed8c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,6 @@ local function complete_app_lib(app)
app.set_setting = core.set_setting app.set_setting = core.set_setting
app.tick = function() app.tick = function()
coroutine.yield() coroutine.yield()
network.__process_events()
end end
app.get_version = core.get_version app.get_version = core.get_version
app.get_setting_info = core.get_setting_info app.get_setting_info = core.get_setting_info
@ -520,6 +519,8 @@ function __process_post_runnables()
for _, name in ipairs(dead) do for _, name in ipairs(dead) do
__vc_named_coroutines[name] = nil __vc_named_coroutines[name] = nil
end end
network.__process_events()
end end
function time.post_runnable(runnable) function time.post_runnable(runnable)