Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dd43cf8

Browse files
committedOct 8, 2024·
more cleanup
1 parent 2955f58 commit dd43cf8

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed
 

‎dotnet/samples/Hello/Program.cs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
Message = "World"
1010
}, local: true);
1111

12+
await App.RuntimeApp!.WaitForShutdownAsync();
1213
await app.WaitForShutdownAsync();
1314

1415
[TopicSubscription("HelloAgents")]

‎dotnet/samples/Hello/appsettings.Development.json

-8
This file was deleted.

‎dotnet/src/Microsoft.AutoGen.Agents.Client/App.cs

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public static async ValueTask ShutdownAsync()
4747
{
4848
throw new InvalidOperationException("Client not started");
4949
}
50+
await RuntimeApp!.StopAsync();
5051
await ClientApp.StopAsync();
5152
}
5253
}

0 commit comments

Comments
 (0)
Please sign in to comment.