Skip to content

Commit

Permalink
grumbles: ws_stream fuse
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 committed Oct 19, 2023
1 parent 8899e00 commit 539ab67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/transport/ws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ pub(crate) async fn background_task<L: Logger>(sender: Sender, receiver: Receive
// Return the `Closed` error to avoid logging unnecessary warnings on clean shutdown.
Err(e) => Some((Err(e), receiver)),
}
});
})
.fuse();

tokio::pin!(ws_stream);

Expand Down

0 comments on commit 539ab67

Please sign in to comment.