mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 01:45:17 +00:00
Fix reconnect bug for VBox
* src/vbox/vbox_tmpl.c: reconnecting to vbox:///session was failing
This commit is contained in:
parent
909d647aab
commit
e1506cb4eb
@ -216,6 +216,7 @@ no_memory:
|
||||
}
|
||||
|
||||
static int vboxInitialize(virConnectPtr conn, vboxGlobalData *data) {
|
||||
|
||||
/* Get the API table for out version, g_pVBoxFuncs is for the oldest
|
||||
version of the API that we support so we cannot use that. */
|
||||
data->pFuncs = g_pfnGetFunctions(VBOX_XPCOMC_VERSION);
|
||||
@ -286,7 +287,6 @@ static void vboxUninitialize(vboxGlobalData *data) {
|
||||
|
||||
if (data->pFuncs)
|
||||
data->pFuncs->pfnComUninitialize();
|
||||
VBoxCGlueTerm();
|
||||
|
||||
virDomainObjListFree(&data->domains);
|
||||
virCapabilitiesFree(data->caps);
|
||||
|
Loading…
x
Reference in New Issue
Block a user