Call FileEncoder::finish in rmeta encoding

This commit is contained in:
Ben Kimock 2023-10-27 21:26:43 -04:00
parent c387f012b1
commit fbaa24ee35
14 changed files with 82 additions and 41 deletions

View file

@ -982,7 +982,7 @@ impl<D: Deps> DepGraph<D> {
}
}
pub fn encode(&self, profiler: &SelfProfilerRef) -> FileEncodeResult {
pub fn finish_encoding(&self, profiler: &SelfProfilerRef) -> FileEncodeResult {
if let Some(data) = &self.data {
data.current.encoder.steal().finish(profiler)
} else {