.
This commit is contained in:
@@ -135,6 +135,7 @@ impl RepoStore {
|
||||
})
|
||||
});
|
||||
|
||||
self.tasks.retain(|task| !task.is_ready());
|
||||
self.tasks.push(task);
|
||||
}
|
||||
|
||||
@@ -201,6 +202,7 @@ impl RepoStore {
|
||||
))
|
||||
});
|
||||
|
||||
self.tasks.retain(|task| !task.is_ready());
|
||||
self.tasks.push(cx.spawn(async move |this, cx| {
|
||||
let (announcement, state, issues, patches, pull_requests, statuses) = match work.await {
|
||||
Ok(data) => data,
|
||||
|
||||
Reference in New Issue
Block a user