mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Skip checking for updates when an update has already been installed
This commit is contained in:
parent
4adb245771
commit
4a5c49eb6e
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ impl AutoUpdater {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn poll(&mut self, cx: &mut ModelContext<Self>) {
|
pub fn poll(&mut self, cx: &mut ModelContext<Self>) {
|
||||||
if self.pending_poll.is_some() {
|
if self.pending_poll.is_some() || self.status == AutoUpdateStatus::Updated {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue