gui: ensure we can retry starting in case of error

This commit is contained in:
jp1ac4 2023-08-31 16:04:18 +01:00
parent 1c1ba5c809
commit 6d9b754800
No known key found for this signature in database
GPG Key ID: A7ACD32423568D7B

View File

@ -652,9 +652,9 @@ impl Step for InternalBitcoindStep {
message::InternalBitcoindMsg::Previous => {
if let Some(bitcoind) = &self.internal_bitcoind {
bitcoind.stop();
self.started = None;
}
self.internal_bitcoind = None;
self.started = None; // clear both Ok and Err
return Command::perform(async {}, |_| Message::Previous);
}
message::InternalBitcoindMsg::Reload => {