MCPcopy Create free account
hub / github.com/continuedev/continue / cleanup

Function cleanup

extensions/cli/src/services/BaseService.ts:94–98  ·  view source on GitHub ↗

* Cleanup resources (can be overridden by subclasses)

()

Source from the content-addressed store, hash-verified

92 * Cleanup resources (can be overridden by subclasses)
93 */
94 async cleanup(): Promise<void> {
95 logger.debug(`Cleaning up ${this.serviceName}`);
96 this.removeAllListeners();
97 this.isInitialized = false;
98 }
99}
100
101/**

Callers 1

useServicesFunction · 0.50

Calls 1

debugMethod · 0.45

Tested by

no test coverage detected