MCPcopy
hub / github.com/ether/etherpad / shutdown

Method shutdown

src/node/db/SessionStore.ts:75–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 }
74
75 shutdown() {
76 for (const {timeout} of this._expirations.values()) clearTimeout(timeout);
77 if (this._cleanupTimer) {
78 clearTimeout(this._cleanupTimer);
79 this._cleanupTimer = null;
80 }
81 }
82
83 /**
84 * Remove expired and empty sessions from the database.

Callers 3

SessionStore.tsFile · 0.80
closeServerFunction · 0.80
rebuildPad.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected