Here you create child injector (which is nice, because you can define custom mappings in the "scope" of command execution), but it's not destroyed anywhere. Maybe it would be even better to create child injector in executeCommands() and call childInjector.tearDown() in the end of this method? Or some disposal method for CommandExecutor.
https://github.com/robotlegs/robotlegs-framework/blob/master/src/robotlegs/bender/extensions/commandCenter/impl/CommandExecutor.as#L48
Here you create child injector (which is nice, because you can define custom mappings in the "scope" of command execution), but it's not destroyed anywhere. Maybe it would be even better to create child injector in
executeCommands()
and callchildInjector.tearDown()
in the end of this method? Or some disposal method forCommandExecutor
.