Skip to content

Commit

Permalink
Improve fix for #1342
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Oct 15, 2013
1 parent 0fccd00 commit a48062d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,7 @@ public void onRemoveAtmosphereResource(Broadcaster b, AtmosphereResource r) {
t.remove(b);
} else {
// The BroadcasterTracker was swapped
if (t == null) {
onAddAtmosphereResource(b, r);
}
onAddAtmosphereResource(b, r);
logger.trace("Keeping the state of {} with broadcaster {}", r.uuid(), b.getID());
logger.trace("State for {} with broadcaster {}", r.uuid(), t != null ? t.ids() : "null");
}
Expand Down

0 comments on commit a48062d

Please sign in to comment.