[libvirt] [PATCH v5 03/10] close callback: make unregister clean after connect close event
Daniel P. Berrange
berrange at redhat.com
Fri Feb 26 17:48:06 UTC 2016
On Wed, Feb 17, 2016 at 03:14:56PM +0300, Nikolay Shirokovskiy wrote:
> If connect close is fired then following unregister will fail
> as we set callback to NULL and thus callback equality checking
> will fail.
> Callback is set to NULL to make it fired only one time probabaly.
> Instead lets use connection equality to NULL to check if callback
> is already fired.
> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy at virtuozzo.com>
> src/datatypes.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
|: 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 :|
More information about the libvir-list