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

Method close

pkg/wshutil/wshrpc.go:737–744  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

735}
736
737func (handler *RpcResponseHandler) close() {
738 cancelFn := handler.contextCancelFn.Load()
739 if cancelFn != nil && *cancelFn != nil {
740 (*cancelFn)()
741 handler.contextCancelFn.Store(nil)
742 }
743 handler.done.Store(true)
744}
745
746// if async, caller must call finalize
747func (handler *RpcResponseHandler) Finalize() {

Callers 12

SendResponseMethod · 0.95
SendResponseErrorMethod · 0.95
makeFileMenuFunction · 0.80
constructorMethod · 0.80
processActionQueueMethod · 0.80
relaunchBrowserWindowsFunction · 0.80
destroyMethod · 0.80
shutdownMethod · 0.80
reconnectMethod · 0.80
disposeMethod · 0.80
resetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected