MCPcopy
hub / github.com/wavetermdev/waveterm / DestroyBlockController

Function DestroyBlockController

pkg/blockcontroller/blockcontroller.go:295–303  ·  view source on GitHub ↗
(blockId string)

Source from the content-addressed store, hash-verified

293}
294
295func DestroyBlockController(blockId string) {
296 controller := getController(blockId)
297 if controller == nil {
298 return
299 }
300 controller.Stop(true, Status_Done, true)
301 wstore.DeleteRTInfo(waveobj.MakeORef(waveobj.OType_Block, blockId))
302 deleteController(blockId)
303}
304
305func sendConnMonitorInputNotification(controller Controller) {
306 connName := controller.GetConnName()

Callers 4

CloseTabMethod · 0.92
handleBlockCloseEventFunction · 0.85
ResyncControllerFunction · 0.85

Calls 5

DeleteRTInfoFunction · 0.92
MakeORefFunction · 0.92
getControllerFunction · 0.85
deleteControllerFunction · 0.85
StopMethod · 0.65

Tested by

no test coverage detected