Skip to content

Dialog response await will never continue if reuse same instance two times, but works OK if another instance shown between #384

@KirillBorunov

Description

@KirillBorunov

Let say we have 2 dialog instances:

var dialogA = new...
var dialogB = new...

Now this code will fail (the dialog A will show two times, but second await will never continue):

await dialogA.ShowAsync(player);
await dialogA.ShowAsync(player);

But this one will work as expected:

await dialogA.ShowAsync(player);
await dialogB.ShowAsync(player);
await dialogA.ShowAsync(player);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions