You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added default implementation for Plugin class, destroy() method for PluginCollection which calls destroy() method on each loaded plugin and Editor.destroy() calls this.plugins.destroy() as you wanted.
Feature: `Editor#destroy()` will destroy all loaded plugins. Closes #86.
Added default implementation for `Plugin#destroy()`. Introduced `PluginCollection#destroy()` method which calls `Plugin#destroy()` for every loaded plugin.
The default implementation should call
this.stopListening()
.The text was updated successfully, but these errors were encountered: