mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-07-29 19:41:52 +03:00
Fix crash after calling virConnectClose
This commit is contained in:
@ -1072,6 +1072,9 @@ def buildWrappers():
|
||||
n = n + 1
|
||||
classes.write(")\n");
|
||||
|
||||
if name == "virConnectClose":
|
||||
classes.write(" self._o = None\n")
|
||||
|
||||
# For functions returning object types:
|
||||
if ret[0] != "void":
|
||||
if classes_type.has_key(ret[0]):
|
||||
|
Reference in New Issue
Block a user