MCPcopy Create free account
hub / github.com/cursorless-dev/cursorless / dispose

Method dispose

src/core/HatTokenMap.ts:121–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 }
120
121 public dispose() {
122 this.activeMap.dispose();
123
124 if (this.prePhraseMapSnapshot != null) {
125 this.prePhraseMapSnapshot.dispose();
126 }
127 }
128
129 private async maybeTakePrePhraseSnapshot() {
130 const phraseStartSignal = this.graph.commandServerApi?.signals?.prePhrase;

Callers 1

takePrePhraseSnapshotMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected