Call FileEncoder::finish in rmeta encoding
This commit is contained in:
parent
c387f012b1
commit
fbaa24ee35
14 changed files with 82 additions and 41 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue