Skip to content

Conversation

rosen-vladimirov
Copy link
Contributor

In some cases, when using the AOT of Angular applications, multiple worker compilations may happen at the same time. As they share the same Angular Compiler instance, the compilation itself may fail.
To resolve this, ensure there's only one compilation of a worker in a specified moment - start the next one after the current one finishes.

Fixes issue NativeScript/nativescript-cli#5247

@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/sync-worker-pitch branch from 8f2c842 to 3a0b216 Compare February 20, 2020 06:49
In some cases, when using the AOT of Angular applications, multiple worker compilations may happen at the same time. As they share the same Angular Compiler instance, the compilation itself may fail.
To resolve this, ensure there's only one compilation of a worker in a specified moment - start the next one after the current one finishes.
@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/sync-worker-pitch branch from 7515a5a to 4b07012 Compare February 20, 2020 07:56
@rosen-vladimirov rosen-vladimirov merged commit b7d4797 into master Feb 20, 2020
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/sync-worker-pitch branch February 20, 2020 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants