Skip to content

Commit f0a2876

Browse files
committed
fixup: clarify use of shutdown_tx
1 parent 9e9938f commit f0a2876

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tunnel-obfuscation/src/shadowsocks.rs

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ pub enum Error {
3838
pub struct Shadowsocks {
3939
udp_client_addr: SocketAddr,
4040
server: tokio::task::JoinHandle<Result<()>>,
41+
// The receiver will implicitly shut down when this is dropped
4142
_shutdown_tx: oneshot::Sender<()>,
4243
}
4344

0 commit comments

Comments
 (0)