Skip to content

Commit

Permalink
Merge pull request #3362 from artem-zinnatullin/fix-synchronization-o…
Browse files Browse the repository at this point in the history
…n-non-final-field-in-BufferUntilSubscriber

Fix synchronization on non-final field in BufferUntilSubscriber
  • Loading branch information
akarnokd committed Sep 29, 2015
2 parents 615b0fc + 1b31347 commit c58a785
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ boolean casObserverRef(Observer<? super T> expected, Observer<? super T> next)
return OBSERVER_UPDATER.compareAndSet(this, expected, next);
}

Object guard = new Object();
final Object guard = new Object();
/* protected by guard */
boolean emitting = false;

Expand Down

0 comments on commit c58a785

Please sign in to comment.