1
mirror of https://github.com/flipperdevices/flipperzero-firmware.git synced 2025-12-12 04:41:26 +04:00

Snake: fix deadlock caused by use of view_port_update while locking model (#3063)

This commit is contained in:
あく
2023-09-11 21:08:09 +09:00
committed by GitHub
parent 77d6c41914
commit 9f6fc6fe79

View File

@@ -390,8 +390,8 @@ int32_t snake_game_app(void* p) {
// event timeout // event timeout
} }
view_port_update(view_port);
furi_mutex_release(snake_state->mutex); furi_mutex_release(snake_state->mutex);
view_port_update(view_port);
} }
// Return backlight to normal state // Return backlight to normal state