Comment 11 for bug 603802

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

Thank you, I have merged your changes. I removed one part. I have to take back the module unloading part -- there is no real python module unloading.

Yes, we do some ugly stuff in kupfer.core.plugins for loading/unloading plugins but the unloading is only some bookkeeping. To really save memory you have to restart kupfer after disabling plugins.

What we want however is that plugins that are disabled also disable their notifications and any daemons if any they started. That was what I was trying to say -- if the virtualbox plugin starts a daemon, it has to stop it when the plugin is disabled too.

Anyway, the change to not import 'vboxapi' at all until we know that we really want to do that -- that's the important part.