MCPcopy Index your code
hub / github.com/bytebase/bytebase / ShutDown

Method ShutDown

backend/api/lsp/handler.go:98–106  ·  view source on GitHub ↗

ShutDown shuts down the handler.

()

Source from the content-addressed store, hash-verified

96
97// ShutDown shuts down the handler.
98func (h *Handler) ShutDown() {
99 h.mu.Lock()
100 defer h.mu.Unlock()
101 if h.shutDown {
102 slog.Warn("server received a shutdown request after it was already shut down.")
103 }
104 h.shutDown = true
105 h.fs = nil
106}
107
108func (h *Handler) setMetadata(arg SetMetadataCommandArguments) {
109 h.mu.Lock()

Callers 1

handleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected