
12 Jan
2012
12 Jan
'12
6:35 a.m.
On Thu, Jan 12, 2012 at 04:58:03PM +0530, Jatin Kumar wrote:
Thanks, setting dom=None solved the problem. But that needs to make alot of changes in the code. Do we have any other alternative ?
Well python should garbage collect them when the variables go out of scope. When all 'dom' are garbage collected, then the connection will be garbage collected too & the close() will thus take effect Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|