1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 00:59:24 -05:00

refactor(test): don't spawn additional thread (#13877)

This commit is contained in:
Bartek Iwańczuk 2022-03-08 23:42:21 +01:00 committed by GitHub
parent 61fbecfd5b
commit 32ef9bfa47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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