Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: editor widget resolving when creating new tab #1719

Merged
merged 1 commit into from
Nov 29, 2022
Merged

fix: editor widget resolving when creating new tab #1719

merged 1 commit into from
Nov 29, 2022

Conversation

kittaakos
Copy link
Contributor

Motivation

Fix bug when ensuring that an already editor is opened.

Change description

I have corrected the condition so that the promise can correctly resolve immediately. It did not cause a performance issue, as no callers have been awaiting the promise.

Other information

Closes #1718

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

An already opened editor widget can resolve without waiting.

Closes #1718

Signed-off-by: Akos Kitta <[email protected]>
@kittaakos kittaakos added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Nov 28, 2022
Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified it fixes #1718

Thanks Akos!

@kittaakos kittaakos merged commit 8778d70 into main Nov 29, 2022
@kittaakos kittaakos deleted the #1718 branch November 29, 2022 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
2 participants