From c4d0fceec37e3842fad4aeb5afb0dfac4353390d Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Tue, 16 Apr 2024 12:54:50 -0600 Subject: fix(cli): TestEventSender should be !Clone (#23405) `TestEventSender` should not be Clone so we don't end up with multiple copies of the same writer FD. This is probably not the cause of the test channel lockups, but it's a lot easier to reason about. --- cli/tools/jupyter/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/tools/jupyter/mod.rs') diff --git a/cli/tools/jupyter/mod.rs b/cli/tools/jupyter/mod.rs index 2731f5814..64c8cd7df 100644 --- a/cli/tools/jupyter/mod.rs +++ b/cli/tools/jupyter/mod.rs @@ -92,7 +92,7 @@ pub async fn kernel( permissions, vec![ ops::jupyter::deno_jupyter::init_ops(stdio_tx.clone()), - ops::testing::deno_test::init_ops(test_event_sender.clone()), + ops::testing::deno_test::init_ops(test_event_sender), ], // FIXME(nayeemrmn): Test output capturing currently doesn't work. Stdio { @@ -114,7 +114,6 @@ pub async fn kernel( resolver, worker, main_module, - test_event_sender, test_event_receiver, ) .await?; -- cgit v1.2.3