MCPcopy Index your code
hub / github.com/upstash/jstack / cleanup

Method cleanup

packages/jstack-shared/src/socket.ts:258–268  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256 }
257
258 cleanup() {
259 if (this.pingTimer) {
260 clearInterval(this.pingTimer)
261 this.pingTimer = undefined
262 }
263
264 if (this.pongTimer) {
265 clearTimeout(this.pongTimer)
266 this.pongTimer = undefined
267 }
268 }
269
270 close() {
271 this.cleanup()

Callers 1

closeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected