MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / clearGlobalEventContext

Function clearGlobalEventContext

tsunami/engine/globalctx.go:81–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81func clearGlobalEventContext() {
82 globalCtxMutex.Lock()
83 defer globalCtxMutex.Unlock()
84 globalEventContext = nil
85 globalEventGoId = 0
86}
87
88func withGlobalEventCtx[T any](ec *EventContextImpl, fn func() T) T {
89 setGlobalEventContext(ec)

Callers 1

withGlobalEventCtxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected