mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 20:59:50 +04:00
Snake: fix deadlock caused by use of view_port_update while locking model (#3063)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user