mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 07:41:08 +00:00
backend: Always save the waker
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
@@ -221,9 +221,8 @@ impl<Hash: BlockHash> Shared<Hash> {
|
||||
|
||||
// else, take whatever items, and save the waker if not done yet.
|
||||
let items = std::mem::take(&mut details.items);
|
||||
if !is_done {
|
||||
details.waker = Some(waker.clone());
|
||||
}
|
||||
// Always save the waker.
|
||||
details.waker = Some(waker.clone());
|
||||
Some(items)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user