From e93e3626ddc12f928c963486e5c7067cfb9a72e9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 19 Jul 2016 18:36:50 +0200 Subject: [PATCH] (task_content.c) Messages should be flushed before putting on queue --- tasks/task_content.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/task_content.c b/tasks/task_content.c index d4e1f1a8de..12bc4893a0 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -1331,7 +1331,7 @@ static bool init_content_file_extract( temp_content); runloop_msg_queue_push( msg_hash_to_str(MSG_FAILED_TO_EXTRACT_CONTENT_FROM_COMPRESSED_FILE) - , 10, 180, false); + , 2, 180, true); return false; } @@ -1618,7 +1618,7 @@ static bool task_load_content(content_ctx_info_t *content_info, snprintf(msg, sizeof(msg), "%s %s ...", msg_hash_to_str(MSG_LOADING), name); - runloop_msg_queue_push(msg, 1, 1, false); + runloop_msg_queue_push(msg, 2, 1, true); } } @@ -1666,7 +1666,7 @@ error: snprintf(msg, sizeof(msg), "%s %s.\n", msg_hash_to_str(MSG_FAILED_TO_LOAD), name); - runloop_msg_queue_push(msg, 1, 90, false); + runloop_msg_queue_push(msg, 2, 90, true); } } return false;