MCPcopy
hub / github.com/wavetermdev/waveterm / doShutdown

Method doShutdown

tsunami/engine/clientimpl.go:146–155  ·  view source on GitHub ↗
(reason string)

Source from the content-addressed store, hash-verified

144}
145
146func (c *ClientImpl) doShutdown(reason string) {
147 c.Lock.Lock()
148 defer c.Lock.Unlock()
149 if c.IsDone {
150 return
151 }
152 c.DoneReason = reason
153 c.IsDone = true
154 close(c.DoneCh)
155}
156
157func (c *ClientImpl) SetGlobalEventHandler(handler func(event vdom.VDomEvent)) {
158 c.GlobalEventHandler = handler

Callers 1

processFrontendUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected