Check Environment matches webEnvironment after it is initialized
After the ApplicationEnvironmentPrepared we now check that the webEnvironment flag and/or the Environment hasn't changed, in case the user wanted to switch the context from a web to non-web in a listener. Fixes gh-2716
Showing
This diff is collapsed.
Please register or sign in to comment