Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac committed Oct 30, 2023
1 parent 602f2d0 commit 3c27169
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions ext/websocket/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ fn send_binary(state: &mut OpState, rid: ResourceId, data: &[u8]) {
resource.buffered.set(resource.buffered.get() + len);
let lock = resource.reserve_lock();
deno_core::unsync::spawn(async move {
eprintln!("sending {}", data.len());
if let Err(err) = resource
.write_frame(lock, Frame::new(true, OpCode::Binary, None, data.into()))
.await
Expand Down Expand Up @@ -648,7 +647,6 @@ pub async fn op_ws_next_event(
};
loop {
let res = ws.read_frame(&mut sender).await;
eprintln!("frame");
let val = match res {
Ok(val) => val,
Err(err) => {
Expand Down
1 change: 0 additions & 1 deletion test_util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ async fn echo_websocket_handler(
match frame.opcode {
fastwebsockets::OpCode::Close => break,
fastwebsockets::OpCode::Text | fastwebsockets::OpCode::Binary => {
println!("got frame! {}", frame.payload.len());
ws.write_frame(frame).await.unwrap();
}
_ => {}
Expand Down

0 comments on commit 3c27169

Please sign in to comment.