core: mark updates pending when a root flag is set
To make sure handle_root_flags will be called. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
b109526e15
commit
5a22fb0828
|
@ -99,6 +99,7 @@ session_t *ps_g = NULL;
|
|||
|
||||
void set_root_flags(session_t *ps, uint64_t flags) {
|
||||
ps->root_flags |= flags;
|
||||
ps->pending_updates = true;
|
||||
}
|
||||
|
||||
void quit(session_t *ps) {
|
||||
|
|
Loading…
Reference in New Issue