Skip to content

Commit 50f4ba3

Browse files
authored
Fix stack overflow in SetCustomStatus (#2248)
1 parent 639cfa2 commit 50f4ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Worker.Extensions.DurableTask/DurableTaskFunctionsMiddleware.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public override Task CreateTimer(DateTime fireAt, CancellationToken cancellation
167167
public override void SetCustomStatus(object? customStatus)
168168
{
169169
this.EnsureLegalAccess();
170-
this.SetCustomStatus(customStatus);
170+
this.innerContext.SetCustomStatus(customStatus);
171171
}
172172

173173
public override Task<T> WaitForExternalEvent<T>(string eventName, CancellationToken cancellationToken = default)

0 commit comments

Comments
 (0)