| 70 | self.close_epoch = self.close_epoch.wrapping_add(1); |
| 71 | let epoch = self.close_epoch; |
| 72 | cx.spawn(async move |this, cx| { |
| 73 | cx.background_executor() |
| 74 | .timer(motion::MENU_OUT.duration) |
| 75 | .await; |
| 76 | if let Some(this) = this.upgrade() { |
| 77 | this.update(cx, |state, cx| { |
| 78 | if state.close_epoch == epoch { |
nothing calls this directly
no outgoing calls
no test coverage detected