Fixed fail when trying to send emssage before get_difference end
This commit is contained in:
parent
b21abd37f8
commit
3f9d921782
2
loop.c
2
loop.c
@ -725,6 +725,7 @@ int loop (void) {
|
||||
|
||||
set_interface_callbacks ();
|
||||
|
||||
tglm_send_all_unsent ();
|
||||
tgl_do_get_difference (sync_from_start, get_difference_callback, 0);
|
||||
net_loop (0, dgot);
|
||||
assert (!(tgl_state.locks & TGL_LOCK_DIFF));
|
||||
@ -736,7 +737,6 @@ int loop (void) {
|
||||
#ifdef USE_LUA
|
||||
lua_diff_end ();
|
||||
#endif
|
||||
tglm_send_all_unsent ();
|
||||
|
||||
|
||||
/*tgl_do_get_dialog_list (get_dialogs_callback, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user