From 9f6fc6fe794d79e1a709ccabf767b2a8d2908f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=81=8F?= Date: Mon, 11 Sep 2023 21:08:09 +0900 Subject: [PATCH] Snake: fix deadlock caused by use of view_port_update while locking model (#3063) --- applications/system/snake_game/snake_game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/system/snake_game/snake_game.c b/applications/system/snake_game/snake_game.c index 6852cb215..bd7f1ce16 100644 --- a/applications/system/snake_game/snake_game.c +++ b/applications/system/snake_game/snake_game.c @@ -390,8 +390,8 @@ int32_t snake_game_app(void* p) { // event timeout } - view_port_update(view_port); furi_mutex_release(snake_state->mutex); + view_port_update(view_port); } // Return backlight to normal state