Skip to content

Commit

Permalink
123
Browse files Browse the repository at this point in the history
  • Loading branch information
iddm committed Sep 19, 2023
1 parent 3938196 commit 3e90113
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/v8/inspector/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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();

Expand All @@ -972,7 +972,7 @@ mod tests {
.unwrap()
.is::<HandshakeError<ServerHandshake<TcpStream, NoCallback>>>(),);

drop(_lock);
// drop(_lock);
client_thread.join().expect("Thread joined");
return;
}
Expand Down

0 comments on commit 3e90113

Please sign in to comment.