Skip to content

Commit

Permalink
Fix for #720
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Nov 6, 2012
1 parent a355f05 commit da77254
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,7 @@ public SimpleBroadcaster(String id, AtmosphereConfig config) {
*/
@Override
protected BroadcasterConfig createBroadcasterConfig(AtmosphereConfig config){
BroadcasterConfig bc = (BroadcasterConfig) config.properties().get(BroadcasterConfig.class.getName());
if (bc == null) {
bc = new BroadcasterConfig(config.framework().broadcasterFilters(), config, false);
config.properties().put(BroadcasterConfig.class.getName(), bc);
}
return bc;
return new BroadcasterConfig(config.framework().broadcasterFilters(), config, false);
}

protected void start() {
Expand Down

0 comments on commit da77254

Please sign in to comment.