Fix imperative close request being ignored in absence of any other activity

This commit is contained in:
Kovid Goyal
2020-06-26 16:37:17 +05:30
parent 75caafb5ac
commit fd3a4536e7

View File

@@ -364,6 +364,7 @@ static void
application_close_requested_callback(int flags) {
if (flags) {
global_state.quit_request = IMPERATIVE_CLOSE_REQUESTED;
global_state.has_pending_closes = true;
request_tick_callback();
} else {
if (global_state.quit_request == NO_CLOSE_REQUESTED) {