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

Do not attach refresh token interval if initialization of token failed in init() method of CloudServices plugin. #17686

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

Mati365
Copy link
Member

@Mati365 Mati365 commented Dec 23, 2024

Suggested merge commit message (convention)

Fix (cloud-services): No longer keep refreshing token if tokenUrl method failed in the initialization of the plugin. Closes #17531


Additional information

Related to #17462.

The init method of the Token tries to initialize the token, but if the first initialization fails (that one in init of cloud-services) it keeps the refresh interval running after destroying of the editor. The editor was destroyed because Token.init throws exception directly in cloud-services init method (which leads to editor crash).

…d in `init()` method of `CloudServices` plugin.
@Mati365 Mati365 merged commit 4896a62 into master Dec 30, 2024
9 checks passed
@Mati365 Mati365 deleted the ck/17531 branch December 30, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intervals and timeouts are orphaned if editor crashes
2 participants