MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / release

Function release

source code/utils/computerUse/drainRunLoop.ts:34–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34function release(): void {
35 pending--
36 if (pending <= 0 && pump !== undefined) {
37 clearInterval(pump)
38 pump = undefined
39 logForDebugging('[drainRunLoop] pump stopped', { level: 'verbose' })
40 pending = 0
41 }
42}
43
44const TIMEOUT_MS = 30_000
45

Callers 15

drainRunLoopFunction · 0.70
resetTaskListFunction · 0.50
createTaskFunction · 0.50
updateTaskFunction · 0.50
claimTaskFunction · 0.50
claimTaskWithBusyCheckFunction · 0.50
saveConfigWithLockFunction · 0.50
writeToMailboxFunction · 0.50
markMessageAsReadByIndexFunction · 0.50
markMessagesAsReadFunction · 0.50

Calls 1

logForDebuggingFunction · 0.85

Tested by

no test coverage detected