Unverified Commit 4914f32b authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Turbopack: persist when stopping (after build) (#83014)

### What?

Fixes persistent caching with next build.

Need to investigate how this regression passes the test cases...
parent 070ae8a7
......@@ -1231,6 +1231,9 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
self.is_idle.store(false, Ordering::Release);
self.verify_aggregation_graph(turbo_tasks, false);
}
if self.should_persist() {
self.snapshot();
}
self.task_cache.drop_contents();
drop_contents(&self.transient_tasks);
self.storage.drop_contents();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment