c9 / architect

A simple yet powerful plugin system for large-scale node applications
MIT License
981 stars 129 forks source link

Unloading the plugins #16

Open diorahman opened 11 years ago

diorahman commented 11 years ago

I know this is unusual. Is it possible to add API for unloading a plugin?

Thanks!

janjongboom commented 11 years ago

Unloading a plugin will potentially break the dependency tree. What's the use case for this?

cirience-zz commented 6 years ago

Although this issue is very old, I would like to respond to it. At the moment I use the "mysql" library for NodeJS. For this purpose I have created my own plugin which initializes the connection. But now I am faced with the problem that I cannot restore the connection without reloading the plugin.

Is there a solution?