fix(f_wait): flush UI before blocking (#25962)

This commit is contained in:
zeertzjq
2023-11-10 15:24:36 +08:00
committed by GitHub
parent bf5cf8ae82
commit d5a85d737a
7 changed files with 82 additions and 26 deletions

View File

@@ -463,7 +463,7 @@ static int nlua_wait(lua_State *lstate)
int pcall_status = 0;
bool callback_result = false;
// Flush UI before blocking
// Flush screen updates before blocking.
ui_flush();
LOOP_PROCESS_EVENTS_UNTIL(&main_loop,