Send Message::Eof
after writing archive tail
This commit is contained in:
parent
04d2fb2bf4
commit
f2fff3ce76
@ -121,5 +121,6 @@ pub fn par_stream_archive<W: Write + Send>(
|
||||
})?;
|
||||
let mut writer = writer.into_inner().map_err(|_| Error::MutexError)?;
|
||||
writer.write_all(&[0; 8])?;
|
||||
sender.send(Message::Eof).map_err(|_| Error::SenderError)?;
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user