Commit 54b6ced
debug: fix restoration of selected configuration (#10287)
The debug view has the functionality to save the currently selected
debug configuration to local storage. However the restoring of it failed
as the initialization of the debug configuration manager was not
completed by the time the restore action was attempted. The
`initialized` field was assigned after some asynchronous operation
which meant it was `undefined` when other logic tried to use it.
This change fixes the intended wait for initialization of the debug
configuration manger.
Signed-off-by: Alvaro Sanchez-Leon <alvaro.sanchez-leon@ericsson.com>
Co-authored-by: Paul Marechal <paul.marechal@ericsson.com>1 parent 541304a commit 54b6ced
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
0 commit comments