Skip to content

Conversation

angelosilvestre
Copy link
Collaborator

[SuperEditor] Detach plugins in dispose(). (Resolves #2790)

Currently, SuperEditor only detaches its plugins on didUpdateWidget. It should be also detaching on dispose, to give the opportunity for plugins to dispose their own dependencies when the editor is removed from the widget tree.

This PR changes SuperEditor to call detach on each plugin on dispose.

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.

[SuperEditor] - Plugins aren't detached in dispose()
1 participant