Commit b5dbf88
fix(settings): invalidate in-flight discovery on baseUrl clear
Bump discoverySeq when scheduleDiscovery returns early due to an
invalid baseUrl. Otherwise a slow probe started before the user
cleared the field can still resolve and overwrite the freshly-reset
`idle` state back to `found`/`failed`.
Signed-off-by: hqhq1025 <1506751656@qq.com>1 parent d397564 commit b5dbf88
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
0 commit comments