From 83e5deb98853aa04bf08eba6d7fe91977c5042fd Mon Sep 17 00:00:00 2001 From: Chuck Jazdzewski Date: Wed, 30 Aug 2017 14:26:19 -0700 Subject: [PATCH] fix(compiler-cli): fix memory leaks in watch mode (#18961) PR Close #18961 --- packages/compiler-cli/src/transformers/program.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler-cli/src/transformers/program.ts b/packages/compiler-cli/src/transformers/program.ts index 33be37321a..91a4e16631 100644 --- a/packages/compiler-cli/src/transformers/program.ts +++ b/packages/compiler-cli/src/transformers/program.ts @@ -55,7 +55,7 @@ class AngularCompilerProgram implements Program { constructor( private rootNames: string[], private options: CompilerOptions, private host: CompilerHost, - private oldProgram?: Program) { + oldProgram?: Program) { if (options.flatModuleOutFile && !options.skipMetadataEmit) { const {host: bundleHost, indexName, errors} = createBundleIndexHost(options, rootNames, host); if (errors) {