1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-10 07:20:56 +00:00
trezor-firmware/core/src
matejcik e0b4cab2db fix(core): retry creation of homescreen layout
For reasons unknown, a previous homescreen layout can sometimes survive
a GC cycle in main's unimport loop. Two homescreen layouts can't exist
simultaneously, so creating a new one would fail.

It _seems_ that after restarting the session, the homescreen object
still exists but is not reachable anymore, so a second GC cycle properly
disposes of it.

So what we do is simply catch the possible MemoryError, invoke GC
explicitly, and try again.
2025-01-03 14:15:14 +01:00
..
apps fix(core): fix serialization of signatures and witnesses in multisig 2025-01-02 15:07:25 +01:00
storage feat(core): Implement entropy check workflow in ResetDevice. 2025-01-02 13:44:36 +01:00
trezor fix(core): retry creation of homescreen layout 2025-01-03 14:15:14 +01:00
_vulture_ignore.txt feat(all): add UI for Model R 2023-05-31 10:14:54 +02:00
.gitignore MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
all_modules.py refactor(core): abstract cache and context 2024-12-02 12:39:15 +01:00
all_modules.py.mako chore(core): exclude THP modules and messages from non-THP builds 2024-10-09 10:44:30 +02:00
boot.py feat(core): unify RustLayout, implement single global layout 2024-11-12 16:55:17 +01:00
main.py style: fix article 2024-12-02 12:39:15 +01:00
session.py refactor(core): remove debuglink support from main handle_session 2024-11-12 16:55:17 +01:00
typing.py style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01:00
usb.py refactor(core/embed): refactor usb driver 2024-06-19 11:48:06 +02:00