ZF2-37: Belated broker marking of started resources


Possible be better to mark started application resources before it initialization.

Because happens situation when used "modules" resource and one of bootstrap try to load resource "modules" and broker try to init it once more with current bootstrap as application instance, before resource "modules" would marked like already is run.

My suggestions to move marking like before resource initialization: Zend\Application\AbstractBootstrap method _executeResource()

$return = $plugin->init();


Resolved by commit: 984453a5f5bf44a35bb4571a65dfe45e4f1517c0