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…
Add table
Add a link
Reference in a new issue