From 3e901136a465efba20def681d4f687e023194f70 Mon Sep 17 00:00:00 2001 From: Victor Polevoy Date: Tue, 19 Sep 2023 14:23:18 +0200 Subject: [PATCH] 123 --- src/v8/inspector/server.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/v8/inspector/server.rs b/src/v8/inspector/server.rs index 1d1b2e6..ff2ee29 100644 --- a/src/v8/inspector/server.rs +++ b/src/v8/inspector/server.rs @@ -941,9 +941,9 @@ mod tests { let address = address.clone(); - let wait = Arc::new(Mutex::new(())); + // let wait = Arc::new(Mutex::new(())); - let wait_client = wait.clone(); + // let wait_client = wait.clone(); // The client thread, attempting to connect. let client_thread = std::thread::spawn(move || { let _web_socket = 'connect: loop { @@ -953,12 +953,12 @@ mod tests { } }; - let _lock = wait_client.lock().unwrap(); + // let _lock = wait_client.lock().unwrap(); }); // Now let's wait for the user to connect. { - let _lock = wait.lock().unwrap(); + // let _lock = wait.lock().unwrap(); let _web_socket = 'accept_loop: loop { let start_accepting_time = std::time::Instant::now(); @@ -972,7 +972,7 @@ mod tests { .unwrap() .is::>>(),); - drop(_lock); + // drop(_lock); client_thread.join().expect("Thread joined"); return; }