Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wavetermdev/waveterm
/ UnregisterWSChannel
Function
UnregisterWSChannel
pkg/eventbus/eventbus.go:43–47 ·
view source on GitHub ↗
(connId string)
Source
from the content-addressed store, hash-verified
41
}
42
43
func
UnregisterWSChannel(connId string) {
44
globalLock.Lock()
45
defer
globalLock.Unlock()
46
delete(wsMap, connId)
47
}
48
49
func
SendEventToElectron(event WSEventType) {
50
barr, err := json.Marshal(event)
Callers
1
HandleWsInternal
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected