Skip to content

Commit 9c26886

Browse files
committed
Turbopack: implement shutdown for backing storage correct
This ensures next.js correctly waits for the turbopack shutdown to complete
1 parent e98f958 commit 9c26886

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

turbopack/crates/turbo-tasks-backend/src/backing_storage.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ where
211211
}
212212
}
213213
}
214+
215+
fn shutdown(&self) -> Result<()> {
216+
either::for_both!(self, this => this.shutdown())
217+
}
214218
}
215219

216220
// similar to `Either::unwrap_left`, but does not require `R: Debug`.

0 commit comments

Comments
 (0)