summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-12-30 03:24:02 +0100
committerGitHub <noreply@github.com>2021-12-30 03:24:02 +0100
commitde9778949b8eb6eedaf490488ed2a11fa304d9fb (patch)
treee31e494cf12ee2dfa2e6145f8f72458e17872b77
parent0ead12d673ecc8c19bdf77043550b80b8eb81475 (diff)
chore(core): remove stale TODOs (#13232)
-rw-r--r--core/runtime.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/runtime.rs b/core/runtime.rs
index d1b7db14c..1f4a958d9 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -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()
};