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(debug): remove component in beforeDestroy hook #6737

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

max-nextcloud
Copy link
Collaborator

  • Use a set so components can only be in there once.
  • Debug data can be written even if syncService is undefined.

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • tested in the browser - this is debug functionality - not a user visible feature.
  • Documentation is not required

@max-nextcloud max-nextcloud requested a review from mejo- as a code owner December 5, 2024 14:25
@max-nextcloud max-nextcloud requested review from juliusknorr and mejo- and removed request for mejo- December 5, 2024 14:25
Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

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

Nice, thanks for pulling that out of Editor.vue as well ;)

* Use a set so components can only be in there once.
* Debug data can be written even if syncService is undefined.

Signed-off-by: Max <max@nextcloud.com>
@juliusknorr juliusknorr added bug Something isn't working 3. to review labels Dec 5, 2024
@max-nextcloud max-nextcloud merged commit 8682d78 into main Dec 8, 2024
62 checks passed
@max-nextcloud max-nextcloud deleted the fix/debug-yjs branch December 8, 2024 16:06
@max-nextcloud
Copy link
Collaborator Author

/backport to stable30

@max-nextcloud
Copy link
Collaborator Author

/backport to stable29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants