Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3a2b2da

Browse files
committed
bug#43981 [FrameworkBundle] fix registering late resettable services (nicolas-grekas)
This PR was merged into the 4.4 branch.Discussion----------[FrameworkBundle] fix registering late resettable services| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | -| License | MIT| Doc PR | -`ResettableServicePass` must run after other passes that could potentially register more resettable services (eg `HttpClientPass`)Commits-------6cacef8 [FrameworkBundle] fix registering late resettable services
2 parents0eacfd9 +6cacef8 commit3a2b2da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function build(ContainerBuilder $container)
146146
$container->addCompilerPass(newCachePoolPrunerPass(), PassConfig::TYPE_AFTER_REMOVING);
147147
$this->addCompilerPassIfExists($container, FormPass::class);
148148
$container->addCompilerPass(newWorkflowGuardListenerPass());
149-
$container->addCompilerPass(newResettableServicePass());
149+
$container->addCompilerPass(newResettableServicePass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, -32);
150150
$container->addCompilerPass(newRegisterLocaleAwareServicesPass());
151151
$container->addCompilerPass(newTestServiceContainerWeakRefPass(), PassConfig::TYPE_BEFORE_REMOVING, -32);
152152
$container->addCompilerPass(newTestServiceContainerRealRefPass(), PassConfig::TYPE_AFTER_REMOVING);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp