MCPcopy Create free account
hub / github.com/tiann/hapi / destroy

Method destroy

cli/src/claude/utils/OutgoingMessageQueue.ts:181–190  ·  view source on GitHub ↗

* Cleanup timers and resources

()

Source from the content-addressed store, hash-verified

179 * Cleanup timers and resources
180 */
181 destroy(): void {
182 if (this.processTimer) {
183 clearTimeout(this.processTimer);
184 }
185
186 for (const timer of this.delayTimers.values()) {
187 clearTimeout(timer);
188 }
189 this.delayTimers.clear();
190 }
191}

Callers 7

runMainLoopMethod · 0.95
cleanupFunction · 0.80
startOpencodeHookServerFunction · 0.80
startHookServerFunction · 0.80
cleanupFunction · 0.80
finalizeFunction · 0.80

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected