We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4863ada commit a39e969Copy full SHA for a39e969
1 file changed
src/server/project.ts
@@ -311,6 +311,13 @@ namespace ts.server {
311
this.lsHost.dispose();
312
this.lsHost = undefined;
313
314
+ // Clean up file watchers waiting for missing files
315
+ for (const p of this.missingFilesMap.getKeys()) {
316
+ this.missingFilesMap.get(p).close();
317
+ this.missingFilesMap.remove(p);
318
+ }
319
+ this.missingFilesMap = undefined;
320
+
321
// signal language service to release source files acquired from document registry
322
this.languageService.dispose();
323
this.languageService = undefined;
0 commit comments