diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-04-16 12:54:50 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 12:54:50 -0600 |
commit | c4d0fceec37e3842fad4aeb5afb0dfac4353390d (patch) | |
tree | f535c56fd8c122566c091993c1099174fae318e8 /cli/tools/jupyter/mod.rs | |
parent | 760d64bc6b200ae58e8ee948903bf1e42b6799b5 (diff) |
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.
Diffstat (limited to 'cli/tools/jupyter/mod.rs')
-rw-r--r-- | cli/tools/jupyter/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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?; |