Skip to content

Commit

Permalink
fix: dynamic event source registration should not return named event …
Browse files Browse the repository at this point in the history
…source (#2219)

Signed-off-by: Attila Mészáros <csviri@gmail.com>
  • Loading branch information
csviri authored Jan 25, 2024
1 parent 988cf17 commit 51a8fe5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public EventSource dynamicallyRegisterEventSource(String name,
synchronized (this) {
var actual = eventSources.existing(name, eventSource);
if (actual != null) {
eventSource = actual;
eventSource = actual.eventSource();
} else {
registerEventSource(name, eventSource);
}
Expand Down

0 comments on commit 51a8fe5

Please sign in to comment.