ack ----- Original Message ----- > Avoids a critical to be logged when closing remote-viewer: > "gl_make_current: assertion 'd->egl.context_ready' failed" > --- > src/spice-widget.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/spice-widget.c b/src/spice-widget.c > index 139510d..c335083 100644 > --- a/src/spice-widget.c > +++ b/src/spice-widget.c > @@ -2161,7 +2161,8 @@ static void unrealize(GtkWidget *widget) > { > spice_cairo_image_destroy(SPICE_DISPLAY(widget)); > #if HAVE_EGL > - spice_egl_unrealize_display(SPICE_DISPLAY(widget)); > + if (SPICE_DISPLAY(widget)->priv->egl.context_ready) > + spice_egl_unrealize_display(SPICE_DISPLAY(widget)); > #endif > > GTK_WIDGET_CLASS(spice_display_parent_class)->unrealize(widget); > -- > 2.13.0 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/spice-devel > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel