[vbox-dev] VirtualBox COM works on Linux, but CRASHES on Windows !

Nikolay Igotti nikolay.igotti at oracle.com
Sat Apr 23 23:07:23 PDT 2011

Consider VirtualBoxManager() a singleton, you need to create only once. 
So smth like


def getMgr():
global g_mgr
if g_mgr is None:
g_mgr = VirtualBoxManager(None, None)
return g_mgr

will do. You don't usually need to uninitialize it, although del g_mgr 
would do unint.


24.04.2011 2:26, Alexey Eromenko пишет:
> Is there a way to un-initialize VirtualBoxManager() in python ?
> I really don't know how-to solve this problem in GNS3 now.

More information about the vbox-dev mailing list