Skip to content

Commit f31d2b1

Browse files
mrodalfmbenhassine
authored andcommitted
Fix #1162
1 parent 88ac89d commit f31d2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-statemachine-core/src/main/java/org/springframework/statemachine/support/ReactiveStateMachineExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ protected Mono<Void> doPreStartReactively() {
125125
Mono<Void> mono = startTriggers();
126126

127127
if (triggerDisposable == null) {
128-
triggerDisposable = triggerFlux.subscribe();
128+
triggerDisposable = triggerFlux.contextCapture().subscribe();
129129
}
130130

131131
if (!initialHandled.getAndSet(true)) {

0 commit comments

Comments
 (0)