Skip to content

Commit

Permalink
Merge pull request #877 from pyrtsa/patch-1
Browse files Browse the repository at this point in the history
Correct synchronization guard in groupByUntil
  • Loading branch information
benjchristensen committed Feb 14, 2014
2 parents ef023d1 + 4264229 commit 2d921d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void onNext(TSource args) {

GroupSubject<TKey, TResult> g;
boolean newGroup = false;
synchronized (key) {
synchronized (gate) {
g = map.get(key);
if (g == null) {
g = create(key);
Expand Down

0 comments on commit 2d921d1

Please sign in to comment.