mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
fix: don't close cached tailnet on pty close (#8917)
This commit is contained in:
@ -669,7 +669,6 @@ func (s *Server) workspaceAgentPTY(rw http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
defer release()
|
||||
defer agentConn.Close()
|
||||
log.Debug(ctx, "dialed workspace agent")
|
||||
ptNetConn, err := agentConn.ReconnectingPTY(ctx, reconnect, uint16(height), uint16(width), r.URL.Query().Get("command"))
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user