mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
fix(plugin/runner): Disable wasi_env
cleanup (#7458)
This commit is contained in:
parent
dcda6498f3
commit
1868d36cfe
@ -119,9 +119,13 @@ impl PluginTransformState {
|
||||
guest_program_ptr.1,
|
||||
)?;
|
||||
|
||||
/* [Note]: currently this is disabled: this cleanup is for the multi-threaded
|
||||
* wasi environment as well as cleaning up file handles which is for the cases
|
||||
* running wasi binary as standalone. SWC doesn't need neither currently, will
|
||||
* revisit once we support multithreaded plugin.
|
||||
if let Some(wasi_env) = &self.wasi_env {
|
||||
wasi_env.cleanup(&mut self.store, None);
|
||||
}
|
||||
}*/
|
||||
|
||||
ret
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user