fix: remove progressbar instance when closing compiler#10034
fix: remove progressbar instance when closing compiler#10034LingyuCoder merged 2 commits intomainfrom
Conversation
✅ Deploy Preview for rspack ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (2)
packages/rspack/src/Compiler.ts:711
- [nitpick] Using the non-null assertion operator 'instance!' may hide potential null scenarios. Consider adding an explicit null-check or a clarifying comment ensuring that instance must be non-null at this point.
instance!.close()
crates/rspack_core/src/compiler/mod.rs:537
- Ensure that adequate tests exist for the new CompilerClose hook to verify its behavior in different shutdown scenarios.
pub async fn close(&self) -> Result<()> {
CodSpeed Performance ReportMerging #10034 will degrade performances by 25.79%Comparing 🎉 Hooray!
|
| Benchmark | BASE |
HEAD |
Change | |
|---|---|---|---|---|
| ❌ | Traverse module graph by dependencies |
613.1 µs | 826.3 µs | -25.79% |
Summary
fix #8444
Checklist