<p dir="ltr">That is great, calling Abort also should remove the callbacks.</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, 24 May 2017 11:11 Martin Kletzander, <<a href="mailto:mkletzan@redhat.com">mkletzan@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, May 17, 2017 at 07:53:35PM +0000, JosÉ Luis Valencia Gutierrez wrote:<br>
>I just tried removing the callback before calling virStreamFinish and it<br>
>worked right, I thought by simply finish the stream would stop the events<br>
>and close it, the example I was based on only calls virStreamFinish on EOF<br>
>event.<br>
><br>
<br>
I'm working on a patch that removes the callbacks after calling Finish.<br>
Our docs don't really say it's needed and I don't (yet) see the point in<br>
requiring that.<br>
</blockquote></div>