MCPcopy Create free account
hub / github.com/PatchMon/PatchMon / closeGuacdConn

Method closeGuacdConn

server-source-code/internal/rdpproxy/session.go:256–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254}
255
256func (s *Session) closeGuacdConn() {
257 s.mu.Lock()
258 defer s.mu.Unlock()
259 if s.guacdConn != nil {
260 _ = s.guacdConn.Close()
261 s.guacdConn = nil
262 }
263}
264
265func (s *Session) timeoutLoop(ctx context.Context) {
266 ticker := time.NewTicker(30 * time.Second)

Callers 2

bridgeGuacdToAgentMethod · 0.95
cleanupMethod · 0.95

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected