MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / doShutdown

Method doShutdown

pkg/waveapp/waveapp.go:68–77  ·  view source on GitHub ↗
(reason string)

Source from the content-addressed store, hash-verified

66}
67
68func (c *Client) doShutdown(reason string) {
69 c.Lock.Lock()
70 defer c.Lock.Unlock()
71 if c.IsDone {
72 return
73 }
74 c.DoneReason = reason
75 c.IsDone = true
76 close(c.DoneCh)
77}
78
79func (c *Client) SetGlobalEventHandler(handler func(client *Client, event vdom.VDomEvent)) {
80 c.GlobalEventHandler = handler

Callers 2

CreateVDomContextMethod · 0.95
VDomRenderCommandMethod · 0.45

Implementers 1

WshRouterpkg/wshutil/wshrouter.go

Calls

no outgoing calls

Tested by

no test coverage detected