When the file is deleted via project panel, close it in editors
This commit is contained in:
parent
3984cc6d39
commit
583b15badc
5 changed files with 222 additions and 1 deletions
|
@ -270,7 +270,7 @@ impl TestAppContext {
|
|||
.borrow_mut()
|
||||
.pop_front()
|
||||
.expect("prompt was not called");
|
||||
let _ = done_tx.try_send(answer);
|
||||
done_tx.try_send(answer).ok();
|
||||
}
|
||||
|
||||
pub fn has_pending_prompt(&self, window_id: usize) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue