mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
refactor(test): don't spawn additional thread (#13877)
This commit is contained in:
parent
61fbecfd5b
commit
32ef9bfa47
1 changed files with 3 additions and 7 deletions
|
@ -813,14 +813,10 @@ async fn test_specifiers(
|
|||
let options = options.clone();
|
||||
|
||||
tokio::task::spawn_blocking(move || {
|
||||
let join_handle = std::thread::spawn(move || {
|
||||
let future =
|
||||
test_specifier(ps, permissions, specifier, mode, sender, options);
|
||||
let future =
|
||||
test_specifier(ps, permissions, specifier, mode, sender, options);
|
||||
|
||||
run_basic(future)
|
||||
});
|
||||
|
||||
join_handle.join().unwrap()
|
||||
run_basic(future)
|
||||
})
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue