fix(service): Stale search results after interrupt
This commit is contained in:
parent
d297fced20
commit
d3b43c9e91
1 changed files with 1 additions and 0 deletions
|
|
@ -322,6 +322,7 @@ impl<O: futures::Sink<Response> + Unpin> Service<O> {
|
||||||
if !self.search_scheduled {
|
if !self.search_scheduled {
|
||||||
self.interrupt().await;
|
self.interrupt().await;
|
||||||
self.search_scheduled = true;
|
self.search_scheduled = true;
|
||||||
|
self.last_query = query;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue