fix(stream-server): fix partial move in buffer get_next_chunk (fix compilation)
This commit is contained in:
parent
a9009de366
commit
8582be5982
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@ impl AdaptiveBuffer {
|
|||
let mut buffer = self.buffer.write();
|
||||
let chunk = buffer.pop_front();
|
||||
|
||||
if let Some(_chunk) = chunk {
|
||||
if let Some(ref _chunk) = chunk {
|
||||
// Mettre à jour les statistiques
|
||||
self.update_stats(&buffer).await;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue