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

Function retain

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

Source from the content-addressed store, hash-verified

24}
25
26function retain(): void {
27 pending++
28 if (pump === undefined) {
29 pump = setInterval(drainTick, 1, requireComputerUseSwift())
30 logForDebugging('[drainRunLoop] pump started', { level: 'verbose' })
31 }
32}
33
34function release(): void {
35 pending--

Callers 1

drainRunLoopFunction · 0.85

Calls 2

requireComputerUseSwiftFunction · 0.85
logForDebuggingFunction · 0.85

Tested by

no test coverage detected