Skip to content

[ApplicationBuilder] must not create Window until it ensures that the host started #2381

Open
@xperiandri

Description

What would you like to be added:

Trying to use OpenIddict Client it inserts a special IHostedService that extracts protocol activation, redirects activation and stops the application.
This means until host initialization is completed Windows must not be created as initialization can probably fail or be terminated.

Now a Window always opens and closes after some period of time if that OpenIddict Client hosted service extracts activation.

Why is this needed:

To prevent Windows creation in unnecessary situations.

For which Platform:

  • Windows
  • Desktop

Related:

#2220

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementNew feature or request.triage/untriagedIndicates an issue requires triaging or verification.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions