fix(service): Stale search results after interrupt

This commit is contained in:
Michael Aaron Murphy 2021-09-08 19:56:41 +02:00 committed by Michael Murphy
parent d297fced20
commit d3b43c9e91

View file

@ -322,6 +322,7 @@ impl<O: futures::Sink<Response> + Unpin> Service<O> {
if !self.search_scheduled {
self.interrupt().await;
self.search_scheduled = true;
self.last_query = query;
}
return;