Fix final cluster not displaying right
This commit is contained in:
parent
9481d53adc
commit
c4fc13fe0b
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ fn create_loop() -> WebmServer {
|
|||
}
|
||||
|
||||
// finish last cluster
|
||||
if let Some(chunk) = cluster_header.take() {
|
||||
chunks.push(chunk);
|
||||
}
|
||||
chunks.push(Chunk::ClusterBody {bytes: Arc::new(buffer.into_inner())});
|
||||
|
||||
WebmServer(header.unwrap(), chunks)
|
||||
|
|
Loading…
Reference in a new issue