Commit 5c4eb03
committed
fix(startup): run MnemonicCache init synchronously to prevent race condition
The async coroutine launch allowed auth flow to access cachedCode before
initialization completed, causing UninitializedPropertyAccessException.
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>1 parent 6662645 commit 5c4eb03
1 file changed
Lines changed: 1 addition & 6 deletions
File tree
- apps/flipcash/app/src/main/kotlin/com/flipcash/app/internal/startup
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 9 | + | |
15 | 10 | | |
16 | 11 | | |
17 | 12 | | |
| |||
0 commit comments