Skip to content

Commit

Permalink
[event-bus] Fix chained assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani committed Oct 26, 2020
1 parent 0bc008a commit e73ddf4
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit e73ddf4

Please sign in to comment.