File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -305,7 +305,10 @@ impl HomeView {
305305 if let Some ( updates) = self . status_poller . try_recv_updates ( ) {
306306 for update in updates {
307307 if let Some ( inst) = self . instances . iter_mut ( ) . find ( |i| i. id == update. id ) {
308- if inst. status != Status :: Deleting && inst. status != Status :: Stopped {
308+ if inst. status != Status :: Deleting
309+ && inst. status != Status :: Stopped
310+ && update. status != Status :: Stopped
311+ {
309312 let old_status = inst. status ;
310313 inst. status = update. status ;
311314 inst. last_error = update. last_error . clone ( ) ;
@@ -319,7 +322,10 @@ impl HomeView {
319322 }
320323 }
321324 if let Some ( inst) = self . instance_map . get_mut ( & update. id ) {
322- if inst. status != Status :: Deleting && inst. status != Status :: Stopped {
325+ if inst. status != Status :: Deleting
326+ && inst. status != Status :: Stopped
327+ && update. status != Status :: Stopped
328+ {
323329 inst. status = update. status ;
324330 inst. last_error = update. last_error ;
325331 }
You can’t perform that action at this time.
0 commit comments