Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set app.booting flag immediately #286

Merged
merged 1 commit into from
Mar 22, 2019
Merged

fix: set app.booting flag immediately #286

merged 1 commit into from
Mar 22, 2019

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Mar 22, 2019

Before this change, app.booting was set by Application plugin as part of regular phase invocation, which executes individual plugins in subsequent turns of the event loop. As a result, app.booting was initially undefined despite the fact that the booting process was already in progress.

This patch moves manipulation of app.booting flag directly to Bootstrapper#run method, to ensure it's set early enough and always properly cleared at the end.

Related issues

Checklist

  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style
    guide

Before this change, `app.booting` was set by Application plugin as part
of regular phase invocation, which executes individual plugins in
subsequent turns of the event loop. As a result, `app.booting` was
initially `undefined` despite the fact that the booting process was
already in progress.

This patch moves manipulation of `app.booting` flag directly to
`Bootstrapper#run` method, to ensure it's set early enough and always
properly cleared at the end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

not able to generate all the models
2 participants