Skip to content

Commit 1a7a078

Browse files
committed
Fix execution info notification in Execute method
Replaces _synchronizedExecutionInfo with _executionInfo when notifying the start of execution in the Execute method. Ensures correct subject is used for execution state updates.
1 parent ac2030e commit 1a7a078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReactiveUI/ReactiveCommand/ReactiveCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ public override IObservable<TResult> Execute(TParam parameter)
912912
return Observable.Defer(
913913
() =>
914914
{
915-
_synchronizedExecutionInfo.OnNext(ExecutionInfo.CreateBegin());
915+
_executionInfo.OnNext(ExecutionInfo.CreateBegin());
916916
return Observable<(IObservable<TResult>, Action)>.Empty;
917917
})
918918
.Concat(_execute(parameter))

0 commit comments

Comments
 (0)