Re: [Spice-devel] [PATCH spice-gtk 2/7] channel: check if channel has a session

2016-05-23 Thread Pavel Grunt
Acked-by: Pavel Grunt On Fri, 2016-05-20 at 17:16 +0200, Marc-André Lureau wrote: > Since 8943d2329, the channel may be disconnected from the session > before it's destroyed. In this case, session is NULL. > > Fixes some critical with virt-manager when closing a display: > > (virt-manager:20451

[Spice-devel] [PATCH spice-gtk 2/7] channel: check if channel has a session

2016-05-20 Thread Marc-André Lureau
Since 8943d2329, the channel may be disconnected from the session before it's destroyed. In this case, session is NULL. Fixes some critical with virt-manager when closing a display: (virt-manager:20451): GSpice-CRITICAL **: spice_session_is_for_migration: assertion 'SPICE_IS_SESSION(session)' fa