Skip to content

Capability disposal issue #565

Description

@K4ryuu

Description

When you hotReload a plugin that has capability added (no static fields, initiated in Load, not at variable aswell) and you have a consumer plugin, when you hotReload the provider, it won't delete the capability, which results in that if you reload the user plugin aswell, it still use the functions which are NOT loaded in form of plugin.

Reproduce steps

  • Create a List or something into provider plugin.
  • Create a capability to add items to list and get its count.
  • Add items from consumer with a cmd or so, which use the capability of provider.
  • Reload provider, then reload consumer.
  • Use the get size function and you'll see the item count is that which got unloaded due to the hotReload.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    untriagedNew issue has not been triaged

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions