Skip to content

Commit

Permalink
Fixed bug when trying to inject properties when factory is not loaded…
Browse files Browse the repository at this point in the history
… yet
  • Loading branch information
alexgarbarev committed Feb 21, 2014
1 parent f712d23 commit fa4aed4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Factory/TyphoonComponentFactory.m
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ - (void)attachPostProcessor:(id <TyphoonComponentFactoryPostProcessor>)postProce

- (void)injectProperties:(id)instance
{
if (![self isLoaded]) {[self load];}
Class class = [instance class];
for (TyphoonDefinition *definition in _registry) {
if (definition.type == class) {
Expand Down

0 comments on commit fa4aed4

Please sign in to comment.