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

Function clearGlobalEffectContext

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

Source from the content-addressed store, hash-verified

109}
110
111func clearGlobalEffectContext() {
112 globalCtxMutex.Lock()
113 defer globalCtxMutex.Unlock()
114 globalEffectContext = nil
115 globalEffectGoId = 0
116}
117
118func withGlobalEffectCtx[T any](ec *EffectContextImpl, fn func() T) T {
119 setGlobalEffectContext(ec)

Callers 1

withGlobalEffectCtxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected