[virt-tools-list] [PATCH 08/11] session-spice: Delay the disconnected signal till all channels are closed

Hans de Goede hdegoede at redhat.com
Mon Mar 5 08:23:02 UTC 2012


Hi,

On 03/04/2012 09:59 PM, Marc-André Lureau wrote:
> On Sun, Mar 4, 2012 at 8:05 PM, Hans de Goede<hdegoede at redhat.com>  wrote:
>> This patch fixes this by delaying the emitting of the disconnect signal
>> until the last channel has been destroyed.
>
> Sounds like the right thing to do. I wonder if we shouldn't offer a
> similar logic in spice-gtk too..

I think that adding a session-disconnected signal to SpiceSession using the
same logic would be a good thing to have yes. Notice that I stole the
whole lets just count how many channels we have logic from spicy, so if
we add such a signal we can remove similar code from spicy too.

Regards,

Hans




More information about the virt-tools-list mailing list