Fix incorrect state after unfreezing process
This commit is contained in:
parent
835ca62c06
commit
aa1a74682e
@ -659,10 +659,10 @@ async fn unfreeze_server_signal(config: &Config, server: &Server) -> bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server
|
server
|
||||||
.update_state_from(Some(State::Stopped), State::Started, config)
|
.update_state_from(Some(State::Stopping), State::Starting, config)
|
||||||
.await;
|
.await;
|
||||||
server
|
server
|
||||||
.update_state_from(Some(State::Starting), State::Started, config)
|
.update_state_from(Some(State::Stopped), State::Starting, config)
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
true
|
true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user