Commit 3ef0f3b
committed
Stop the chain source upon any startup failure
This is particularly relevant for the electrum chain source; if we fail
startup, and we do not stop the electrum chain source before returning
an error, then the user will hit a debug assertion on the next restart.
Further work remains to properly wind down all spawned tasks on any
startup error, this will be addressed in a subsequent PR.1 parent 0e76fe8 commit 3ef0f3b
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
295 | 305 | | |
296 | 306 | | |
297 | 307 | | |
| |||
0 commit comments