Skip to content

Commit

Permalink
模块多次实例化,导致调用modSetUp被多次调用,会调用多次registerServic导致crash
Browse files Browse the repository at this point in the history
  • Loading branch information
foxdock committed Aug 11, 2017
1 parent c63f328 commit 3bddfd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BeeHive/BHModuleManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ - (void)registedAllModules
[self.BHModules removeAllObjects];

[self.BHModules addObjectsFromArray:tmpArray];

[self.BHModulesByEvent removeAllObjects];
[self registerAllSystemEvents];
}

Expand Down

0 comments on commit 3bddfd9

Please sign in to comment.