Skip to content

Commit

Permalink
fix(core): end event in sse controller is never send
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed May 13, 2022
1 parent bd49a53 commit ce9d32d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ public Flowable<Event<Execution>> follow(

emitter.onNext(Event.of(current).id("progress"));

if (this.isStopFollow(flow, execution)) {
if (this.isStopFollow(flow, current)) {
emitter.onNext(Event.of(current).id("end"));
emitter.onComplete();
}
Expand Down

0 comments on commit ce9d32d

Please sign in to comment.