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

Unloading Plugins doesn't work as intended #1

Open
kimonmeier opened this issue Jun 26, 2022 · 0 comments
Open

Unloading Plugins doesn't work as intended #1

kimonmeier opened this issue Jun 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kimonmeier
Copy link
Contributor

I think the unloading of the plugin doesn't work like that. If you just set the Assembly as disabled in the AssemblyInfo its just marked as disabled. But its not actually unloaded out the AppDomain and therefore the runtime. To enshure that you can update plugins while the app is running, the dll hast to be unloaded completly.

I would try to use an AppDomain foreach Plugin so that you can unload it.

info.Enabled = false; // TODO check if this works instead ob the above

@kimonmeier kimonmeier added the bug Something isn't working label Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants