Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[event-bus] Fix the double check for lazy initialisation of EventBus instance in EventBusOptions. #8817

Merged
merged 2 commits into from
Oct 26, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[event-bus] Fix chained assignment.
  • Loading branch information
pujagani committed Oct 26, 2020
commit e73ddf456f01fc434e2d16da796c53d886dd6936
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public EventBus getEventBus() {
synchronized (this) {
localBus = bus;
if (localBus == null) {
bus = localBus = createBus();
localBus = createBus();
bus = localBus;
}
}
}
Expand Down