mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-22 15:07:00 -05:00
Fix script_compile_and_run by adding context.exit() (#40)
This commit is contained in:
parent
91b8a70fd2
commit
1835207186
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ fn script_compile_and_run() {
|
|||
let result: v8::Local<v8::String> =
|
||||
unsafe { std::mem::transmute_copy(&result) };
|
||||
assert_eq!(result.to_rust_string_lossy(s), "Hello 13th planet");
|
||||
context.exit();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue