That is great, calling Abort also should remove the callbacks.

On Wed, 24 May 2017 11:11 Martin Kletzander, <mklet...@redhat.com> wrote:

> On Wed, May 17, 2017 at 07:53:35PM +0000, JosÉ Luis Valencia Gutierrez
> wrote:
> >I just tried removing the callback before calling virStreamFinish and it
> >worked right, I thought by simply finish the stream would stop the events
> >and close it, the example I was based on only calls virStreamFinish on EOF
> >event.
> >
>
> I'm working on a patch that removes the callbacks after calling Finish.
> Our docs don't really say it's needed and I don't (yet) see the point in
> requiring that.
>
_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to