C
C#2y ago
Mr. Nom4ik

❔ import and unload dll

hello! I am doing something like a "plugin" system in my program, that is, the user selects a dll file, then performs some functions from it and can unload this dll file at any time and free up memory. I found a way to import a dll from here https://stackoverflow.com/q/18362368, and a way to unload a dll from here https://stackoverflow.com/q/2445536, I have a question, what will happen with asynchronous loops during unload dll? How can I unload a dll so that all its processes are terminated?
2 Replies
Mr. Nom4ik
Mr. Nom4ik2y ago
.net 6 Thanks
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.