Skip to content

Commit eddaa77

Browse files
authored
fix: don't close cached tailnet on pty close (#8917)
1 parent 0c7ff4f commit eddaa77

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

coderd/workspaceapps/proxy.go

-1
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,6 @@ func (s *Server) workspaceAgentPTY(rw http.ResponseWriter, r *http.Request) {
669669
return
670670
}
671671
defer release()
672-
defer agentConn.Close()
673672
log.Debug(ctx, "dialed workspace agent")
674673
ptNetConn, err := agentConn.ReconnectingPTY(ctx, reconnect, uint16(height), uint16(width), r.URL.Query().Get("command"))
675674
if err != nil {

0 commit comments

Comments
 (0)