Skip to content

Commit a33a329

Browse files
author
Sophia Tevosyan
committed
updated comments
1 parent 2c84986 commit a33a329

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Worker/Grpc/GrpcEntityRunner.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ public static async Task<string> LoadAndRunAsync(
135135

136136
if (addToExtendedSessions)
137137
{
138+
// addToExtendedSessions can only be set to true if extendedSessions is not null
138139
extendedSessions!.Set(
139140
request.InstanceId,
140141
result.EntityState,

src/Worker/Grpc/GrpcOrchestrationRunner.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ public static string LoadAndRun(
207207

208208
if (addToExtendedSessions && !executor.IsCompleted)
209209
{
210+
// addToExtendedSessions can only be set to true if extendedSessions is not null
210211
extendedSessions!.Set<ExtendedSessionState>(
211212
request.InstanceId,
212213
new(runtimeState, shim, executor),

0 commit comments

Comments
 (0)