Is it possible to postpone importing vboxapi until VBoxMachinesSource.initialize is called? (Then try to set VBoxMachinesSource.appleaf_content_id in the same function, I hope that works)
It would be good if we did not import vboxapi at all, especially when force_cli is configured. Remeber that in Python, importing a module is the same thing as executing a lot of code.
Also it would be cool if there is a way to unload & shut down vboxapi + daemons and call that in VBoxMachinesSource.finalize (this is called when the plugin is disabled). Of course we must only kill those daemons that we started. But that way the user can disable the plugin to solve the problem maybe(?)
Is it possible to postpone importing vboxapi until VBoxMachinesSou rce.initialize is called? (Then try to set VBoxMachinesSou rce.appleaf_ content_ id in the same function, I hope that works)
It would be good if we did not import vboxapi at all, especially when force_cli is configured. Remeber that in Python, importing a module is the same thing as executing a lot of code.
Also it would be cool if there is a way to unload & shut down vboxapi + daemons and call that in VBoxMachinesSou rce.finalize (this is called when the plugin is disabled). Of course we must only kill those daemons that we started. But that way the user can disable the plugin to solve the problem maybe(?)