Actually drain segments. (#48)

This commit is contained in:
kixelated 2023-07-23 10:28:20 -07:00 committed by GitHub
parent 891d6b167b
commit 0e239935a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -275,6 +275,7 @@ impl Publishers {
let track = track.as_mut().context("track closed")?; // TODO don't make fatal let track = track.as_mut().context("track closed")?; // TODO don't make fatal
track.push_segment(segment); track.push_segment(segment);
track.drain_segments(time::Instant::now());
Ok(()) Ok(())
} }