fix: infinite execution loop when transfer data

This commit is contained in:
Kingtous committed 2022-12-06 15:10:08 +08:00
1 parent 723a3dfb7b
commit c77fe6c01c
4 files changed
+45 -7

No files matched your search

+7
View File
@@ -1304,6 +1304,13 @@ impl Connection {
last_modified: d.last_modified,
is_upload: true,
}),
Some(file_response::Union::Error(e)) => {
self.send_fs(ipc::FS::WriteError {
id: e.id,
file_num: e.file_num,
err: e.error,
});
}
_ => {}
},
Some(message::Union::Misc(misc)) => match misc.union {