Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc5fe4e commit e3f8508Copy full SHA for e3f8508
vpn/tunnel.go
@@ -103,11 +103,7 @@ func (t *Tunnel) requestLoop() {
103
if req.msg.Rpc != nil && req.msg.Rpc.MsgId != 0 {
104
t.handleRPC(req)
105
if _, ok := req.msg.GetMsg().(*ManagerMessage_Stop); ok {
106
- // TODO: Wait for the reply to be sent before closing the speaker.
107
- // err := t.speaker.Close()
108
- // if err != nil {
109
- // t.logger.Error(t.ctx, "failed to close speaker", slog.Error(err))
110
- // }
+ close(t.sendCh)
111
return
112
}
113
continue
0 commit comments