mirror of
https://github.com/denoland/deno.git
synced 2025-01-22 06:09:25 -05:00
chore(core): remove stale TODOs (#13232)
This commit is contained in:
parent
0ead12d673
commit
de9778949b
1 changed files with 0 additions and 4 deletions
|
@ -1911,8 +1911,6 @@ pub mod tests {
|
|||
#[test]
|
||||
fn terminate_execution() {
|
||||
let (mut isolate, _dispatch_count) = setup(Mode::Async);
|
||||
// TODO(piscisaureus): in rusty_v8, the `thread_safe_handle()` method
|
||||
// should not require a mutable reference to `struct rusty_v8::Isolate`.
|
||||
let v8_isolate_handle = isolate.v8_isolate().thread_safe_handle();
|
||||
|
||||
let terminator_thread = std::thread::spawn(move || {
|
||||
|
@ -1950,8 +1948,6 @@ pub mod tests {
|
|||
let v8_isolate_handle = {
|
||||
// isolate is dropped at the end of this block
|
||||
let (mut runtime, _dispatch_count) = setup(Mode::Async);
|
||||
// TODO(piscisaureus): in rusty_v8, the `thread_safe_handle()` method
|
||||
// should not require a mutable reference to `struct rusty_v8::Isolate`.
|
||||
runtime.v8_isolate().thread_safe_handle()
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue