mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Return Ok(()) from destroy()
This commit is contained in:
@@ -71,6 +71,7 @@ impl WASMVirtualMachine {
|
||||
pub fn destroy(self) -> Result<(), JsValue> {
|
||||
self.assert_valid()?;
|
||||
VMStore::destroy(self.id);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
// TODO: Add actually useful methods
|
||||
|
||||
Reference in New Issue
Block a user