Skip to content

fix: old module code purge on plugin disable#64

Merged
dhruvjain99 merged 1 commit into
mainfrom
fix/plugin-code-purge-on-disable
May 29, 2024
Merged

fix: old module code purge on plugin disable#64
dhruvjain99 merged 1 commit into
mainfrom
fix/plugin-code-purge-on-disable

Conversation

@VivekPipaliya23

Copy link
Copy Markdown

Proposed Changes

Previously, when we reloaded the plugin at runtime using vmq-admin, the old plugin module was not properly removed. This caused issues when trying to enable the new plugin.
The changes in this pull request (PR) will ensure that the old code is correctly deleted and Purged. When re-enabling, the system will always use the newer code from the specified path.

Types of Changes

  • Bugfix (non-breaking change which fixes issue #XXXX)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation (correction or otherwise)
  • Cosmetics (whitespace, styles...)
  • DevOps (Build scripts, pipelines...)

Checklist

  • I have read the CODE_OF_CONDUCT.md document
  • All tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if needed)
  • Any dependent changes have been merged and published in related repositories
  • I have updated changelog (At the bottom of the release version)
  • I have squashed all my commits into one before merging

@dhruvjain99 dhruvjain99 merged commit f00ea31 into main May 29, 2024
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.

2 participants