Commit 3bb457b
committed
fix(application): check returned state before updating app state
- Add a check for the returned state from the lifespan context manager
- Only update the app state if there is a returned state
- Prevents potential errors when updating state with None or empty values1 parent 6916182 commit 3bb457b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
| 282 | + | |
282 | 283 | | |
283 | 284 | | |
284 | 285 | | |
| |||
0 commit comments