We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93a321d commit e292a07Copy full SHA for e292a07
1 file changed
crates/rspack_core/src/compilation/mod.rs
@@ -696,11 +696,9 @@ impl Compilation {
696
};
697
698
// tear down the executor so build_module_graph_pass can set it up fresh
699
- if started_executor {
700
- if let Some(mut module_executor) = self.module_executor.take() {
701
- module_executor.after_build_module_graph(self).await?;
702
- self.module_executor = Some(module_executor);
703
- }
+ if started_executor && let Some(mut module_executor) = self.module_executor.take() {
+ module_executor.after_build_module_graph(self).await?;
+ self.module_executor = Some(module_executor);
704
}
705
706
build_result
0 commit comments