Skip to content

Commit

Permalink
Update MauiAppBuilder.cs (#3445)
Browse files Browse the repository at this point in the history
Fix the comment
  • Loading branch information
WeihanLi committed Nov 18, 2021
1 parent cab4f44 commit 7921473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/src/Hosting/MauiAppBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public MauiApp Build()
});

// This needs to go here to avoid adding the IHostedService that boots the server twice (the GenericWebHostService).
// Copy the services that were added via WebApplicationBuilder.Services into the final IServiceCollection
// Copy the services that were added via MauiAppBuilder.Services into the final IServiceCollection
_hostBuilder.ConfigureServices((context, services) =>
{
// We've only added services configured by the GenericWebHostBuilder and WebHost.ConfigureWebDefaults
Expand Down

0 comments on commit 7921473

Please sign in to comment.