Skip to content

Commit

Permalink
Merge pull request #3766 from jamezp/RESTEASY-3369
Browse files Browse the repository at this point in the history
[RESTEASY-3369] Remove the extra eventSink.close() outside of the try…
  • Loading branch information
jamezp committed Aug 21, 2023
2 parents 082852c + 207aad1 commit 6d59f1f
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public void close(final boolean cascading) {
//Javadoc says close the broadcaster and all subscribed {@link SseEventSink} instances.
//is it necessay to close the subsribed SseEventSink ?
outputQueue.forEach(eventSink -> {
eventSink.close();
try {
eventSink.close();
} catch (RuntimeException e) {
Expand Down

0 comments on commit 6d59f1f

Please sign in to comment.