fix: network events not processing (#591)
This commit is contained in:
parent
5aa0cc9c3e
commit
eba7eed8c0
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user