Remove pending message instead of flushing it
This commit is contained in:
parent
c1d2896501
commit
a3a51e535b
1 changed files with 1 additions and 1 deletions
|
@ -1287,7 +1287,7 @@ impl Thread {
|
|||
started_at: Instant::now(),
|
||||
duration: delay,
|
||||
});
|
||||
this.update(cx, |this, cx| this.flush_pending_message(cx))?;
|
||||
this.update(cx, |this, _cx| this.pending_message.take())?;
|
||||
|
||||
cx.background_executor().timer(delay).await;
|
||||
continue 'retry;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue