1
0
Fork 0
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:
Bartek Iwańczuk 2021-12-30 03:24:02 +01:00 committed by GitHub
parent 0ead12d673
commit de9778949b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()
};