fix: do not generate thumbnail if file is being written
This commit is contained in:
parent
0bd20e57e7
commit
15e40461e5
4 changed files with 67 additions and 0 deletions
|
|
@ -6771,6 +6771,10 @@ impl Tab {
|
|||
stream::channel(
|
||||
1,
|
||||
move |mut output: futures::channel::mpsc::Sender<_>| async move {
|
||||
while crate::operation::is_actively_writing_to(&path) {
|
||||
crate::operation::actively_writing_tick().await;
|
||||
}
|
||||
|
||||
let message = {
|
||||
let path = path.clone();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue